mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-22 16:01:35 +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
|
echo
|
||||||
britney2-tests/bin/runtests "$BRITNEY" britney2-tests/t test-out || err=$?
|
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
|
python3-coverage report -m
|
||||||
echo
|
echo
|
||||||
python3-coverage html -d coverage
|
python3-coverage html -d coverage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user