Spaces:
Running on Zero
Running on Zero
Download .github/workflows/ci.yml from Evasim/Simple-Text-Classifier: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/spaces/Evasim/Simple-Text-Classifier/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/Evasim/Simple-Text-Classifier/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/Evasim/Simple-Text-Classifier/resolve/main/.github/workflows/ci.yml
438 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt | |
| - name: Run tests | |
| run: pytest src/ -v | |