Download .github/workflows/ci.yml from SID2000/cortexlab: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/SID2000/cortexlab/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://SID2000/cortexlab/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/SID2000/cortexlab/resolve/main/.github/workflows/ci.yml
562 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - run: pip install ruff | |
| - run: ruff check src/ tests/ | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - run: pip install -e ".[dev]" | |
| - run: pytest tests/ -v --tb=short | |