Spaces:
Sleeping
Sleeping
Download .github/workflows/ci.yml from spoutop/mastermind-env: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/spaces/spoutop/mastermind-env/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/spoutop/mastermind-env/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/spoutop/mastermind-env/resolve/main/.github/workflows/ci.yml
536 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| version: "latest" | |
| - name: install deps | |
| run: uv sync --extra dev | |
| - name: lint | |
| run: uv run ruff check . | |
| - name: tests | |
| run: PYTHONPATH=. uv run pytest tests/ -q --tb=short | |
| - name: openenv validate | |
| run: uv run openenv validate | |