Download .github/workflows/python-tests.yml from mebubo/gpted: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/mebubo/gpted/resolve/main/.github/workflows/python-tests.yml
- Command line
-
hf download hf://spaces/mebubo/gpted/.github/workflows/python-tests.yml
-
curl -L -o python-tests.yml https://huggingface.co/spaces/mebubo/gpted/resolve/main/.github/workflows/python-tests.yml
415 Bytes
| name: Python Tests | |
| 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@v5 | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Install the project | |
| run: uv sync --all-extras --dev | |
| - name: Run tests | |
| run: uv run pytest . | |