Version 3 SDK #18
Workflow file for this run
This file contains hidden or 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: Run Tests | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| env: | |
| AUTUMN_TEST_KEY: ${{ secrets.AUTUMN_TEST_KEY }} | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.9 | |
| - name: Create virtual environment | |
| run: uv venv | |
| - name: Install dependencies | |
| run: | | |
| uv pip install -r pyproject.toml --extra tests --extra aio | |
| - name: Run Library Tests | |
| run: uv run pytest | |
| - name: Can Docs Build | |
| run: | | |
| uv pip install -r pyproject.toml --extra docs | |
| cd docs/ | |
| uv run make html |