Spaces:
Sleeping
Sleeping
Download .github/workflows/ci.yml from misack/war_gaming: direct link, hf CLI and curl.
- Browser
- Download file 531 Bytes
-
https://huggingface.co/spaces/misack/war_gaming/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/misack/war_gaming/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/misack/war_gaming/resolve/main/.github/workflows/ci.yml
531 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| name: tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| - name: Pin Python 3.12 | |
| run: uv python install 3.12 | |
| - name: Install dependencies | |
| run: uv sync --extra dev | |
| - name: Run pytest | |
| run: uv run pytest -q | |