Spaces:
Sleeping
Sleeping
Download .github/workflows/ci.yml from vivekharry/scalermod: direct link, hf CLI and curl.
- Browser
- Download file 482 Bytes
-
https://huggingface.co/spaces/vivekharry/scalermod/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/vivekharry/scalermod/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/vivekharry/scalermod/resolve/main/.github/workflows/ci.yml
482 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements-dev.txt | |
| - name: Run tests | |
| run: pytest -q | |