Spaces:
Running
Running
| name: CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| test: | |
| name: Run Test Suite (244 tests) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Cache pip dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ hashFiles('requirements-test.txt') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip- | |
| - name: Install test dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements-test.txt | |
| - name: Run full test suite | |
| run: | | |
| pytest tests/ -q --tb=short --no-header | |
| env: | |
| GROQ_API_KEY: ci-dummy-key | |
| LLM_PROVIDER: groq | |
| LLM_MODEL: llama-3.3-70b-versatile | |
| OPENAI_API_KEY: ci-dummy-key | |