mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-25 18:01:13 +00:00
run coverage even if tests fail
This commit is contained in:
parent
29557abab0
commit
eba71cef1a
@ -24,7 +24,7 @@ py.test-3 -v $PYTEST_COV_OPTIONS || err=$?
|
||||
echo
|
||||
britney2-tests/bin/runtests "$BRITNEY" britney2-tests/t test-out || err=$?
|
||||
|
||||
if [ $err = 0 ] && [ "x$1" = "x--with-coverage" ]; then
|
||||
if [ "x$1" = "x--with-coverage" ]; then
|
||||
python3-coverage report -m
|
||||
echo
|
||||
python3-coverage html -d coverage
|
||||
|
Loading…
x
Reference in New Issue
Block a user