ci: add strict-no-cover to detect unnecessary coverage pragmas (#1897)
This commit is contained in:
parent
3cfdea0e97
commit
a7ddfdae07
1 changed files with 355 additions and 358 deletions
4
.github/workflows/shared.yml
vendored
4
.github/workflows/shared.yml
vendored
|
|
@ -62,6 +62,10 @@ jobs:
|
|||
uv run --frozen --no-sync coverage combine
|
||||
uv run --frozen --no-sync coverage report
|
||||
|
||||
- name: Check for unnecessary no cover pragmas
|
||||
if: runner.os != 'Windows'
|
||||
run: uv run --frozen --no-sync strict-no-cover
|
||||
|
||||
readme-snippets:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in a new issue