Spaces:
Running on Zero
Running on Zero
hardiksood21
ci: add transformers to pyproject dependencies and install requirements.txt in GitHub Actions
0030bee Download .github/workflows/tests.yml from hardiksood21/variantllm: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/spaces/hardiksood21/variantllm/resolve/main/.github/workflows/tests.yml
- Command line
-
hf download hf://spaces/hardiksood21/variantllm/.github/workflows/tests.yml
-
curl -L -o tests.yml https://huggingface.co/spaces/hardiksood21/variantllm/resolve/main/.github/workflows/tests.yml
454 Bytes
| name: VariantLLM 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.11" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install -e . | |
| - name: Run unit test suite | |
| run: | | |
| pytest tests/ -v | |