Spaces:
Runtime error
Runtime error
Download .github/workflows/ci.yml from vishnu-coder/twitter-sentiment-app: direct link, hf CLI and curl.
- Browser
- Download file 588 Bytes
-
https://huggingface.co/spaces/vishnu-coder/twitter-sentiment-app/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/vishnu-coder/twitter-sentiment-app/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/vishnu-coder/twitter-sentiment-app/resolve/main/.github/workflows/ci.yml
588 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Run unit tests | |
| run: pytest -q | |
| - name: Lint package | |
| run: python -m compileall src | |