Download .github/workflows/backend_ci.yml from posix4e/puppet: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/spaces/posix4e/puppet/resolve/main/.github/workflows/backend_ci.yml
- Command line
-
hf download hf://spaces/posix4e/puppet/.github/workflows/backend_ci.yml
-
curl -L -o backend_ci.yml https://huggingface.co/spaces/posix4e/puppet/resolve/main/.github/workflows/backend_ci.yml
532 Bytes
| name: Backend CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| defaults: | |
| run: | |
| working-directory: backend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11.4' | |
| cache: 'pip' | |
| - name: pip Install | |
| run: pip install -r requirements.txt | |
| - name: UnitTests | |
| run: python -m doctest -v backend.py | |
| - name: EndToEnd Test | |
| run: pytest | |