Skip to content

Commit 0817f7e

Browse files
committed
fix(ci): add instrument-hooks build check
1 parent 791bed2 commit 0817f7e

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,39 @@ jobs:
2525
with:
2626
extra_args: --all-files
2727

28+
test-instrument-hooks:
29+
strategy:
30+
matrix:
31+
os: [ubuntu-latest, macos-latest]
32+
python-version:
33+
- "3.10"
34+
- "3.11"
35+
- "3.12"
36+
- "3.13"
37+
runs-on: ${{ matrix.os }}
38+
steps:
39+
- uses: actions/checkout@v4
40+
with:
41+
submodules: true
42+
43+
- uses: astral-sh/setup-uv@v4
44+
with:
45+
version: "0.5.20"
46+
47+
- name: "Set up Python ${{ matrix.python-version }}"
48+
uses: actions/setup-python@v5
49+
with:
50+
python-version: "${{ matrix.python-version }}"
51+
52+
- name: Install dependencies
53+
run: uv sync --all-extras --dev --locked --verbose
54+
55+
- name: Build package
56+
run: uv pip install .
57+
58+
- name: Run tests
59+
run: uv run --no-sync pytest -vs
60+
2861
tests:
2962
runs-on: ubuntu-latest
3063
strategy:

0 commit comments

Comments
 (0)