Download .github/workflows/tests.yml from faridan/dinnner: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/faridan/dinnner/resolve/main/.github/workflows/tests.yml
- Command line
-
hf download hf://spaces/faridan/dinnner/.github/workflows/tests.yml
-
curl -L -o tests.yml https://huggingface.co/spaces/faridan/dinnner/resolve/main/.github/workflows/tests.yml
488 Bytes
| name: tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install | |
| run: | | |
| pip install -r requirements.txt pytest | |
| python -m nltk.downloader punkt_tab # the Space uses NLTK's splitter, so test it too | |
| - name: Run tests (offline stand-in model) | |
| run: pytest -q | |