Spaces:
Runtime error
Runtime error
Download .github/workflows/test.yml from BimonML/Project_phising_detection: direct link, hf CLI and curl.
- Browser
- Download file 563 Bytes
-
https://huggingface.co/spaces/BimonML/Project_phising_detection/resolve/main/.github/workflows/test.yml
- Command line
-
hf download hf://spaces/BimonML/Project_phising_detection/.github/workflows/test.yml
-
curl -L -o test.yml https://huggingface.co/spaces/BimonML/Project_phising_detection/resolve/main/.github/workflows/test.yml
563 Bytes
| name: Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: | | |
| uv sync --group dev | |
| - name: Run tests with pytest | |
| run: | | |
| uv run pytest tests/ -v --cov --cov-report=term-missing | |