Skip to content

Commit 338eb53

Browse files
committed
coverage: add coverage to CI
1 parent 4fa5a91 commit 338eb53

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/shared.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,13 @@ jobs:
5656
run: uv sync ${{ matrix.dep-resolution.install-flags }} --all-extras --python ${{ matrix.python-version }}
5757

5858
- name: Run pytest
59-
run: uv run ${{ matrix.dep-resolution.install-flags }} --no-sync pytest
59+
run: uv run ${{ matrix.dep-resolution.install-flags }} --no-sync coverage run -m pytest
6060
env:
6161
UV_RESOLUTION: ${{ matrix.dep-resolution.name == 'lowest-direct' && 'lowest-direct' || 'highest' }}
6262

63+
- name: Check coverage
64+
run: uv run ${{ matrix.dep-resolution.install-flags }} --no-sync coverage report
65+
6366
readme-snippets:
6467
runs-on: ubuntu-latest
6568
steps:

0 commit comments

Comments
 (0)