Skip to content
Snippets Groups Projects
Commit 49e0c43a authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Tweak a bit the ci

- gentoo and debian with bubblewrap are not allowed to fail anymore
- don't run coverage on debian without bubblewrap
parent 0c75cd15
No related branches found
No related tags found
No related merge requests found
...@@ -58,13 +58,11 @@ tests:debian: ...@@ -58,13 +58,11 @@ tests:debian:
stage: test stage: test
script: script:
- apt-get -qqy purge bubblewrap - apt-get -qqy purge bubblewrap
- python3-coverage run --branch -m unittest discover -s tests/ - python3 setup.py test
- python3-coverage report --fail-under=90 -m --include 'libmat2/*'
tests:debian_with_bubblewrap: tests:debian_with_bubblewrap:
image: $CONTAINER_REGISTRY:debian image: $CONTAINER_REGISTRY:debian
stage: test stage: test
allow_failure: true
<<: *prepare_env <<: *prepare_env
script: script:
- su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/" - su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/"
...@@ -79,7 +77,6 @@ tests:fedora: ...@@ -79,7 +77,6 @@ tests:fedora:
tests:gentoo: tests:gentoo:
image: $CONTAINER_REGISTRY:gentoo image: $CONTAINER_REGISTRY:gentoo
stage: test stage: test
allow_failure: true
<<: *prepare_env <<: *prepare_env
script: script:
- su - mat2 -c "python3 -m unittest discover -v" - su - mat2 -c "python3 -m unittest discover -v"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment