| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| backend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| - name: Lint (ruff) | |
| run: uvx ruff@0.15.16 check src tests | |
| - name: Type-check (mypy) | |
| run: uv run mypy src | |
| - name: Test (pytest) | |
| run: uv run pytest tests/ | |