From eba71cef1a5560be5b6a125a8613aefbeb0a0abb Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Mon, 11 Nov 2019 16:26:39 +0100 Subject: [PATCH] run coverage even if tests fail --- ci/gitlab-ci-runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/gitlab-ci-runner b/ci/gitlab-ci-runner index 32f0e23..8673bc0 100755 --- a/ci/gitlab-ci-runner +++ b/ci/gitlab-ci-runner @@ -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