Download .github/workflows/tests.yml from smlflg/hai-github-gate: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/smlflg/hai-github-gate/resolve/main/.github/workflows/tests.yml
- Command line
-
hf download hf://smlflg/hai-github-gate/.github/workflows/tests.yml
-
curl -L -o tests.yml https://huggingface.co/smlflg/hai-github-gate/resolve/main/.github/workflows/tests.yml
391 Bytes
| name: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install test dependencies | |
| run: python -m pip install -r requirements-dev.txt | |
| - name: Run tests | |
| run: python -m pytest -q | |