Beemer
Deploy: the 2026-09-21 code audit and its three verification rounds -- the quantity and relief allowlists, the five Canadian outcome readings, the IRPR s. 17 clock, the retrieval fixes and the performance work (approved_code 82525e1; curated baseline c32bd27 unchanged)
901bf8c Download .github/workflows/ci.yml from Beemer0/CanLex: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/Beemer0/CanLex/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/Beemer0/CanLex/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/Beemer0/CanLex/resolve/main/.github/workflows/ci.yml
1.22 kB
| # CI for the GitHub mirror (create the mirror per RUNBOOK.md; this workflow | |
| # activates the moment the repo exists). Runs the offline test suite and the | |
| # curated-dataset schema validation on every push -- the cheap failures that | |
| # should never reach the production Space. The full retrieval eval needs the | |
| # ONNX models and LFS embeddings, so it stays a manual/scheduled job. | |
| name: tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| offline-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: false # tests are offline; embeddings not needed | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| # The pinned set the Space builds with: the suite imports numpy, | |
| # onnxruntime, huggingface_hub and tokenizers at collection time | |
| # (test_embed, test_calllog), so a shorter list errors 25 tests before | |
| # they run. No model is downloaded by any test (2026-09-21 audit). | |
| - name: Install the pinned dependencies (no model downloads) | |
| run: pip install -r requirements.txt | |
| - name: Offline test suite | |
| run: python -m unittest discover -s tests -v | |