Download .github/workflows/tests.yml from codegood/job-chat: direct link, hf CLI and curl.
- Browser
- Download file 615 Bytes
-
https://huggingface.co/spaces/codegood/job-chat/resolve/main/.github/workflows/tests.yml
- Command line
-
hf download hf://spaces/codegood/job-chat/.github/workflows/tests.yml
-
curl -L -o tests.yml https://huggingface.co/spaces/codegood/job-chat/resolve/main/.github/workflows/tests.yml
615 Bytes
| name: tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| pytest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| cache: pip | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt -r requirements-dev.txt | |
| # No secrets and no data/ directory: tests/conftest.py pins the | |
| # environment so the suite runs without credentials. | |
| - name: Run tests | |
| run: python -m pytest tests/ -q | |