Commit 13d8e007 authored by jvoisin's avatar jvoisin
Browse files

Fix the coverage

parent d4479d9b
Pipeline #66313 failed with stages
in 3 minutes and 5 seconds
...@@ -56,9 +56,10 @@ tests:archlinux: ...@@ -56,9 +56,10 @@ tests:archlinux:
tests:debian: tests:debian:
image: $CONTAINER_REGISTRY:debian image: $CONTAINER_REGISTRY:debian
stage: test stage: test
<<: *prepare_env
script: script:
- apt-get -qqy purge bubblewrap - su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/"
- python3 -m unittest discover -v - su - mat2 -c "python3-coverage report --fail-under=95 -m --include 'libmat2/*'"
tests:debian_with_bubblewrap: tests:debian_with_bubblewrap:
image: $CONTAINER_REGISTRY:debian image: $CONTAINER_REGISTRY:debian
...@@ -66,8 +67,8 @@ tests:debian_with_bubblewrap: ...@@ -66,8 +67,8 @@ tests:debian_with_bubblewrap:
allow_failure: true allow_failure: true
<<: *prepare_env <<: *prepare_env
script: script:
- su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/" - apt-get -qqy install bubblewrap
- su - mat2 -c "python3-coverage report --fail-under=95 -m --include 'libmat2/*'" - python3 -m unittest discover -v
tests:fedora: tests:fedora:
image: $CONTAINER_REGISTRY:fedora image: $CONTAINER_REGISTRY:fedora
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment