Spaces:
Sleeping
Sleeping
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt | |
| - name: Lint | |
| run: ruff check . | |
| - name: Run unit tests | |
| run: pytest tests/ -v --ignore=tests/test_integration.py -x | |
| env: | |
| GEMINI_API_KEY: "test" | |
| QDRANT_URL: "http://localhost:6333" | |
| QDRANT_API_KEY: "test" | |