Spaces:
Runtime error
Runtime error
Download diffusers/.github/workflows/pr_dependency_test.yml from Androidonnxfork/CivitAi-to-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 702 Bytes
-
https://huggingface.co/spaces/Androidonnxfork/CivitAi-to-Diffusers/resolve/main/diffusers/.github/workflows/pr_dependency_test.yml
- Command line
-
hf download hf://spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/.github/workflows/pr_dependency_test.yml
-
curl -L -o pr_dependency_test.yml https://huggingface.co/spaces/Androidonnxfork/CivitAi-to-Diffusers/resolve/main/diffusers/.github/workflows/pr_dependency_test.yml
702 Bytes
| name: Run dependency tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| check_dependencies: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.7" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| pip install pytest | |
| - name: Check for soft dependencies | |
| run: | | |
| pytest tests/others/test_dependencies.py | |