Download .github/workflows/ci.yml from SmaugC137/splasher: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/SmaugC137/splasher/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/SmaugC137/splasher/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/SmaugC137/splasher/resolve/main/.github/workflows/ci.yml
470 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Lint | |
| run: uv run --python ${{ matrix.python-version }} ruff check . | |
| - name: Run tests | |
| run: uv run --python ${{ matrix.python-version }} --extra api pytest -q | |