Spaces:
Running
Running
Download .github/workflows/ci.yml from HarryDataScience/documind-ai: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/spaces/HarryDataScience/documind-ai/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/HarryDataScience/documind-ai/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/HarryDataScience/documind-ai/resolve/main/.github/workflows/ci.yml
476 Bytes
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| cache-dependency-path: requirements*.txt | |
| - name: Install (CPU-only torch) | |
| run: pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements-dev.txt | |
| - run: ruff check . | |
| - run: pytest tests/ -v | |