ci: run strict-no-cover in scripts/test to catch stale pragmas locally (#2305)
This commit is contained in:
parent
1a2244f402
commit
ff50351f9e
1 changed files with 19 additions and 3 deletions
|
|
@ -6,3 +6,6 @@ uv run --frozen coverage erase
|
|||
uv run --frozen coverage run -m pytest -n auto $@
|
||||
uv run --frozen coverage combine
|
||||
uv run --frozen coverage report
|
||||
# strict-no-cover spawns `uv run coverage json` internally without --frozen;
|
||||
# UV_FROZEN=1 propagates to that subprocess so it doesn't touch uv.lock.
|
||||
UV_FROZEN=1 uv run --frozen strict-no-cover
|
||||
|
|
|
|||
Loading…
Reference in a new issue