Drop Python 3.9 support and test against 3.14 #1069
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| checks: | |
| name: Run checks | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| env: | |
| UV_PYTHON: ${{ matrix.python }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install dependencies | |
| run: uv sync --dev | |
| - name: Run formatter | |
| run: uv run ruff format --check . | |
| - name: Run linter | |
| run: uv run ruff check . | |
| - name: Run type checker | |
| run: uv run basedpyright . | |
| - name: Run tests | |
| run: uv run coverage run -m pytest | |
| - name: Print test coverage report | |
| run: uv run coverage report |