Spaces:
Running
Running
Download .github/workflows/ci.yml from ignatius/curatorbot: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/spaces/ignatius/curatorbot/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/ignatius/curatorbot/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/ignatius/curatorbot/resolve/main/.github/workflows/ci.yml
382 Bytes
| name: tests | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: { python-version: "3.11" } | |
| - run: | | |
| pip install -r requirements.txt pytest httpx | |
| pip install --no-deps -e . | |
| python -m spacy download en_core_web_sm | |
| - run: pytest -q | |