1
0
mirror of synced 2024-12-23 13:19:58 +01:00

Make testsuite fail if coverage is under 100%

Fixes issue #61
This commit is contained in:
Rémi Oudin 2018-09-18 13:36:44 +02:00
parent 2ba38dd2a1
commit f1552b2ccb

View File

@ -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