Download .github/workflows/unit_tests.yml from zhicao/i2rt: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/zhicao/i2rt/resolve/main/.github/workflows/unit_tests.yml
- Command line
-
hf download hf://zhicao/i2rt/.github/workflows/unit_tests.yml
-
curl -L -o unit_tests.yml https://huggingface.co/zhicao/i2rt/resolve/main/.github/workflows/unit_tests.yml
532 Bytes
| name: unit_tests_CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: | | |
| uv sync --dev | |
| - name: Test with pytest | |
| run: uv run pytest -n auto | |