Spaces:
Sleeping
Sleeping
| name: CI | |
| on: | |
| push: | |
| branches: ["main", "develop", "feature/**"] | |
| pull_request: | |
| branches: ["main", "develop"] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Run tests | |
| run: | | |
| python -m pytest -q |