Ignore the user-local Ollama store so models and serve logs stay untr… #75
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: tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install package | |
| run: python -m pip install --upgrade pip && python -m pip install -e '.[dev]' | |
| - name: Ruff unused imports | |
| run: python -m ruff check --select F401,F811 src scripts tests | |
| - name: Complexity proving test | |
| run: bash scripts/test-check-complexity.sh | |
| - name: Unit tests | |
| run: python -m unittest discover -s tests -v | |
| env: | |
| PYTHONPATH: src | |
| - name: Fixture corpus | |
| run: python scripts/run_eval.py | |
| - name: Harder multi-file fixtures | |
| run: python scripts/prove_multifile_refactor.py | |
| - name: Scripted orchestrator | |
| run: python scripts/run_orchestration.py | |
| - name: Stub MCP golden | |
| run: python scripts/run_harness.py --backend stub --profile golden --fast-ms 1 --strong-ms 1 | |
| - name: Stub MCP + apply gate | |
| run: python scripts/run_harness.py --backend stub --profile golden --orchestrate --fast-ms 1 --strong-ms 1 | |
| - name: Stub MCP observed failover | |
| run: python scripts/run_harness.py --backend stub --profile observed --fast-ms 1 --strong-ms 1 | |
| - name: Deployment safety | |
| run: python scripts/check_deployment_safety.py --skip-listen |