Spaces:
Sleeping
Sleeping
Download .github/workflows/test.yml from Beks1401/CSDS553_Demo: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/spaces/Beks1401/CSDS553_Demo/resolve/main/.github/workflows/test.yml
- Command line
-
hf download hf://spaces/Beks1401/CSDS553_Demo/.github/workflows/test.yml
-
curl -L -o test.yml https://huggingface.co/spaces/Beks1401/CSDS553_Demo/resolve/main/.github/workflows/test.yml
456 Bytes
| name: Run chatbot test | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| pip install pytest gradio[oauth] huggingface_hub | |
| - name: Run pytest with HF token | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: pytest -q | |