1
0
mirror of synced 2024-11-05 17:08:52 +01:00

Add branch coverage to the CI

This commit is contained in:
jvoisin 2018-06-10 01:02:21 +02:00
parent 87bdcd1a95
commit b310a18e69

View File

@ -31,5 +31,5 @@ tests:
script: script:
- apt-get -qqy update - 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 - 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 -m unittest discover -s tests/ - python3-coverage run --branch -m unittest discover -s tests/
- python3-coverage report -m --include 'libmat2/*' - python3-coverage report -m --include 'libmat2/*'