1
0
mirror of synced 2024-11-25 02:34:24 +01:00

Tweak a bit the ci

- gentoo and debian with bubblewrap are not allowed to fail anymore
- don't run coverage on debian without bubblewrap
This commit is contained in:
jvoisin 2019-07-22 23:36:20 +02:00
parent 0c75cd15dc
commit 49e0c43ac5

View File

@ -58,13 +58,11 @@ tests:debian:
stage: test
script:
- apt-get -qqy purge bubblewrap
- python3-coverage run --branch -m unittest discover -s tests/
- python3-coverage report --fail-under=90 -m --include 'libmat2/*'
- python3 setup.py test
tests:debian_with_bubblewrap:
image: $CONTAINER_REGISTRY:debian
stage: test
allow_failure: true
<<: *prepare_env
script:
- su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/"
@ -79,7 +77,6 @@ tests:fedora:
tests:gentoo:
image: $CONTAINER_REGISTRY:gentoo
stage: test
allow_failure: true
<<: *prepare_env
script:
- su - mat2 -c "python3 -m unittest discover -v"