Spaces:
Build error
Build error
Download .github/workflows/ci-local-version.yml from mlops-cs553-fall24/Local-Chatbot: direct link, hf CLI and curl.
- Browser
- Download file 552 Bytes
-
https://huggingface.co/spaces/mlops-cs553-fall24/Local-Chatbot/resolve/main/.github/workflows/ci-local-version.yml
- Command line
-
hf download hf://spaces/mlops-cs553-fall24/Local-Chatbot/.github/workflows/ci-local-version.yml
-
curl -L -o ci-local-version.yml https://huggingface.co/spaces/mlops-cs553-fall24/Local-Chatbot/resolve/main/.github/workflows/ci-local-version.yml
552 Bytes
| name: CI for Chatbot | |
| on: | |
| push: | |
| branches: [main, local-version] | |
| pull_request: | |
| branches: [main, local-version] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| pip install -r requirements.txt | |
| pip install pytest | |
| - name: Run Chatbot Tests | |
| run: pytest tests/test_chatbot.py | |