Repository navigation
Fix Triton task coverage and replay checks; consolidate task layout #534
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: benchmark-integrity | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| unit-and-helper-audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # Migration regressions compare task sources with committed ancestors. | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| # The full source audit includes Python 3.12 syntax and AST fixtures. | |
| python-version: "3.12" | |
| - name: Install CPU test dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pytest pyyaml numpy matplotlib | |
| python -m pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| - name: Run benchmark helper audit | |
| run: make check-perf-helpers | |
| - name: Run CPU and mock unit tests | |
| run: python -m pytest -q tests | |
| - name: Compile Python sources | |
| run: python -m compileall -q src tasks tests |