Skip to content

Commit 6c24e2a

Browse files
committed
chore(dev): update test CI
1 parent 3347d2f commit 6c24e2a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,18 @@ jobs:
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

25+
- name: Setup uv
26+
uses: astral-sh/setup-uv@v7
27+
2528
- name: Install dependencies
26-
run: |
27-
python -m pip install --upgrade pip
28-
pip install .[dev]
29+
# The dev group is automatic.
30+
run: uv sync
2931

3032
- name: Run tests and collect coverage
31-
run: |
32-
coverage run --source=tests,cpp_linter_hooks -m pytest -vv
33-
coverage report
34-
coverage xml
33+
run: |-
34+
uv run coverage run --source=tests,cpp_linter_hooks -m pytest -vv
35+
uv run coverage report
36+
uv run coverage xml
3537
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 #v5
3638
if: matrix.python-version == '3.13'
3739
with:

0 commit comments

Comments
 (0)