Download .github/workflows/ci.yml from zeechimp/frontier-check: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/zeechimp/frontier-check/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://zeechimp/frontier-check/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/zeechimp/frontier-check/resolve/main/.github/workflows/ci.yml
1.4 kB
| name: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package with dev extras | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev]" | |
| - name: Run self-test | |
| run: python -m frontier_check --selftest | |
| - name: Run test suite | |
| run: pytest -q | |
| - name: Lint with ruff | |
| run: ruff check frontier_check tests | |
| smoke: | |
| 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 package | |
| run: python -m pip install -e . | |
| - name: Run flagship claim | |
| run: | | |
| frontier-check --strict \ | |
| "The effective rank of a 20x448 matrix can be 75" | |
| - name: Run TCTN claim | |
| run: | | |
| frontier-check --strict \ | |
| "The dragonfly TCTN has effective rank 2.76 over 448 cells, because the bank is a matched filter" |