Spaces:
Running
Running
| name: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| name: Lint and test (Python ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.12"] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install development dependencies | |
| run: pip install -e ".[dev]" | |
| - name: Lint with ruff | |
| run: ruff check src agent app eval tests | |
| - name: Check formatting with ruff | |
| run: ruff format --check src agent app eval tests | |
| - name: Run tests with coverage | |
| run: pytest --cov=src --cov-report=term-missing | |