WickTech's picture
Space README + Gradio entrypoint
fd3cc1a verified
Raw
History Blame Contribute Delete
670 Bytes
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: pip install -e ".[dev]"
- name: Lint
run: ruff check lumen_rag tests
- name: Test (offline mode no API key)
run: pytest -q
- name: Eval regression guard
run: |
lumen ingest data/docs
python scripts/check_eval.py data/eval.jsonl --k 3 --mode hybrid