fix: stabilize local model review flow #36
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: Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "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 package | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev]" | |
| - name: Run tests | |
| run: python -m pytest | |
| - name: Run eval PR preflight | |
| run: make pr-preflight | |
| - name: Run real-case CI gate | |
| run: make real-cases-ci | |
| - name: Run blind holdout CI gate | |
| run: make real-world-blind-ci | |
| - name: Upload eval reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: eval-reports-py${{ matrix.python-version }} | |
| path: | | |
| evals/results/*.json | |
| evals/results/*.md | |
| if-no-files-found: ignore |