Unit Tests #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
workflow_run: | |
workflows: ["Build and Publish"] | |
types: | |
- completed | |
jobs: | |
unit-tests: | |
name: python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v2 | |
- name: Set up Python | |
run: uv python install | |
- name: Install the project | |
run: uv add synthgenai --dev pytest | |
- name: Run tests | |
run: uv run pytest tests/ |