summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7dd8eb4..6163117 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,9 +56,11 @@ tests:archlinux:
56tests:debian: 56tests:debian:
57 image: $CONTAINER_REGISTRY:debian 57 image: $CONTAINER_REGISTRY:debian
58 stage: test 58 stage: test
59 <<: *prepare_env
59 script: 60 script:
60 - apt-get -qqy purge bubblewrap 61 - apt-get -qqy purge bubblewrap
61 - python3 -m unittest discover -v 62 - su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/"
63 - su - mat2 -c "python3-coverage report --fail-under=95 -m --include 'libmat2/*'"
62 64
63tests:debian_with_bubblewrap: 65tests:debian_with_bubblewrap:
64 image: $CONTAINER_REGISTRY:debian 66 image: $CONTAINER_REGISTRY:debian
@@ -66,8 +68,8 @@ tests:debian_with_bubblewrap:
66 allow_failure: true 68 allow_failure: true
67 <<: *prepare_env 69 <<: *prepare_env
68 script: 70 script:
69 - su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/" 71 - apt-get -qqy install bubblewrap
70 - su - mat2 -c "python3-coverage report --fail-under=95 -m --include 'libmat2/*'" 72 - python3 -m unittest discover -v
71 73
72tests:fedora: 74tests:fedora:
73 image: $CONTAINER_REGISTRY:fedora 75 image: $CONTAINER_REGISTRY:fedora