Download LAB-Bench/.github/workflows/ci.yaml from czty/BioOcto: direct link, hf CLI and curl.
- Browser
- Download file 963 Bytes
-
https://huggingface.co/datasets/czty/BioOcto/resolve/main/LAB-Bench/.github/workflows/ci.yaml
- Command line
-
hf download hf://datasets/czty/BioOcto/LAB-Bench/.github/workflows/ci.yaml
-
curl -L -o ci.yaml https://huggingface.co/datasets/czty/BioOcto/resolve/main/LAB-Bench/.github/workflows/ci.yaml
963 Bytes
| name: CI | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request' # pre-commit-ci/lite-action only runs here | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.12"] # Our min and max supported Python versions | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: pre-commit/action@v3.0.1 | |
| - uses: pre-commit-ci/lite-action@v1.1.0 | |
| if: always() | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up uv | |
| run: |- | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| uv python pin ${{ matrix.python-version }} | |
| - run: uv sync --python-preference=only-managed | |
| - name: run tests | |
| run: uv run pytest -n auto | |