From f1552b2ccbeb0df9a8954b3454f82bf7ba182fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Tue, 18 Sep 2018 13:36:44 +0200 Subject: [PATCH] Make testsuite fail if coverage is under 100% Fixes issue #61 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29e3553..4f0a140 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,7 +44,7 @@ tests:debian: - apt-get -qqy update - apt-get -qqy install --no-install-recommends python3-mutagen python3-gi-cairo gir1.2-poppler-0.18 gir1.2-gdkpixbuf-2.0 libimage-exiftool-perl python3-coverage - python3-coverage run --branch -m unittest discover -s tests/ - - python3-coverage report -m --include 'libmat2/*' + - python3-coverage report --fail-under=100 -m --include 'libmat2/*' tests:fedora: image: fedora