Spaces:
Sleeping
Sleeping
Download .github/workflows/tests.yml from solidprivacy/scrub: direct link, hf CLI and curl.
- Browser
- Download file 677 Bytes
-
https://huggingface.co/spaces/solidprivacy/scrub/resolve/6284c2f0ab36e6d19723e5559bf26102daa1424a/.github/workflows/tests.yml
- Command line
-
hf download hf://spaces/solidprivacy/scrub@6284c2f0ab36e6d19723e5559bf26102daa1424a/.github/workflows/tests.yml
-
curl -L -o tests.yml https://huggingface.co/spaces/solidprivacy/scrub/resolve/6284c2f0ab36e6d19723e5559bf26102daa1424a/.github/workflows/tests.yml
677 Bytes
| name: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| python-tests: | |
| name: Python regression tests | |
| runs-on: ubuntu-latest | |
| env: | |
| PYTHONPATH: ${{ github.workspace }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install test dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pytest presidio-analyzer click==8.1.8 | |
| - name: Run regression tests | |
| run: | | |
| python -m pytest -q tests | |