Skip to content

Commit ff92a7d

Browse files
committed
Run coverage if cov arg is true
1 parent 004d265 commit ff92a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ test $FRR_VERSION=FRR_LATEST_MAJOR_VERSION $COV=env("CI", "false"):
2424
( $COV == "true" ) && args+=( "--cov" )
2525
uv run pytest tests ${args[@]}
2626

27-
if [ -z ${CI} ]; then
27+
if [ $COV = "true" ]; then
2828
uv run coverage xml
2929
fi

0 commit comments

Comments
 (0)