Download diffusers/.github/workflows/pr_dependency_test.yml from Ouzhang/helios: direct link, hf CLI and curl.
- Browser
- Download file 746 Bytes
-
https://huggingface.co/datasets/Ouzhang/helios/resolve/main/diffusers/.github/workflows/pr_dependency_test.yml
- Command line
-
hf download hf://datasets/Ouzhang/helios/diffusers/.github/workflows/pr_dependency_test.yml
-
curl -L -o pr_dependency_test.yml https://huggingface.co/datasets/Ouzhang/helios/resolve/main/diffusers/.github/workflows/pr_dependency_test.yml
746 Bytes
| name: Run dependency tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "src/diffusers/**.py" | |
| - "tests/**.py" | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| check_dependencies: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.10" | |
| - name: Install dependencies | |
| run: | | |
| pip install -e . | |
| pip install pytest | |
| - name: Check for soft dependencies | |
| run: | | |
| pytest tests/others/test_dependencies.py | |