Polish README publishing guidance #3
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: AIM Quality Gates | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| backend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install backend | |
| run: python -m pip install -e ".[dev]" | |
| - name: Fatal Python lint | |
| run: ruff check aim tests --select=E9,F63,F7,F82 | |
| - name: Unit and eval tests | |
| run: python -m pytest -p no:cacheprovider tests/unit tests/eval -q | |
| frontend: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install frontend | |
| run: npm ci | |
| - name: Typecheck | |
| run: npm run typecheck | |
| - name: Tests | |
| run: npm test -- --run |