Spaces:
Build error
Build error
Download docs/finetrainers-src-codebase/.github/workflows/pr_tests.yml from PolygonStew/VideoModelStudio: direct link, hf CLI and curl.
- Browser
- Download file 836 Bytes
-
https://huggingface.co/spaces/PolygonStew/VideoModelStudio/resolve/fc0385d75bb8946716fbb7c60e0da725323dc28a/docs/finetrainers-src-codebase/.github/workflows/pr_tests.yml
- Command line
-
hf download hf://spaces/PolygonStew/VideoModelStudio@fc0385d75bb8946716fbb7c60e0da725323dc28a/docs/finetrainers-src-codebase/.github/workflows/pr_tests.yml
-
curl -L -o pr_tests.yml https://huggingface.co/spaces/PolygonStew/VideoModelStudio/resolve/fc0385d75bb8946716fbb7c60e0da725323dc28a/docs/finetrainers-src-codebase/.github/workflows/pr_tests.yml
836 Bytes
| name: Fast tests for PRs | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| check_code_quality: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.8" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ruff==0.9.10 | |
| - name: Check quality | |
| run: make quality | |
| - name: Check if failure | |
| if: ${{ failure() }} | |
| run: | | |
| echo "Quality check failed. Please install ruff: `pip install ruff` and then run `make style && make quality` from the root of the repository." >> $GITHUB_STEP_SUMMARY | |