Spaces:
Running
Running
Download .github/workflows/core-tests.yml from tensorus/core: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/spaces/tensorus/core/resolve/main/.github/workflows/core-tests.yml
- Command line
-
hf download hf://spaces/tensorus/core/.github/workflows/core-tests.yml
-
curl -L -o core-tests.yml https://huggingface.co/spaces/tensorus/core/resolve/main/.github/workflows/core-tests.yml
524 Bytes
| name: Core Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| 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 -r requirements.txt | |
| python -m pip install -r requirements-test.txt | |
| - name: Run tests | |
| run: pytest -v | |