Beemer
Corpus rebuild: 39,611 bilingual chunks / 42,887 vectors; CI workflow; query logging on; docs
c541a91
Raw
History Blame Contribute Delete
956 Bytes
# 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"
- name: Install minimal deps (no ONNX/model downloads)
run: pip install snowballstemmer pydantic "mcp>=1.0" beautifulsoup4 pypdf
- name: Offline test suite
run: python -m unittest discover -s tests -v