Spaces:
Sleeping
Sleeping
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install package and dev deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[test]" | |
| pip install ruff | |
| - name: Lint | |
| run: ruff check src/ tests/ | |
| - name: Run tests | |
| env: | |
| GAIA_ANTHROPIC_API_KEY: "" | |
| GAIA_GOOGLE_API_KEY: "" | |
| GAIA_TAVILY_API_KEY: "" | |
| run: pytest -q --ignore=tests/_scratch_vision.py | |