Skip to content

Merge pull request #7 from thisiscam/example-notebooks #25

Merge pull request #7 from thisiscam/example-notebooks

Merge pull request #7 from thisiscam/example-notebooks #25

Workflow file for this run

# Fast PR/push gate. Installs with uv so the oryx git dependency + tfp-nightly
# resolve correctly (plain pip pulls broken stock oryx). Runs only the fast
# tests; the heavy `slow`-marked suite runs in test-full.yml, since the full
# suite exceeds GitHub's 6h job limit on 2-core runners.
name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"] # pyproject requires-python = ">=3.11"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install
run: uv sync --extra test --locked
- name: Run tests (fast)
run: uv run --extra test python -m pytest -v -m "not slow" -n auto