summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvy Fay2019-12-01 07:58:25 -0800
committergeorg2019-12-02 14:45:32 +0000
commit8c7b23be900a9ae0c49d4c434d7c64d4026f5d41 (patch)
tree426150889a81ff1612b391b110f10be28e4a5046
parentdb797e3a5274dd1961b92f496d0599fb8b5d7e9a (diff)
.gitlab-ci.yml: make test command consistent across distros
This switches to use "python3 -m unittest discover -v" onevery distro.
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82cd46b..4ad5c98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,14 +51,14 @@ tests:archlinux:
51 image: $CONTAINER_REGISTRY:archlinux 51 image: $CONTAINER_REGISTRY:archlinux
52 stage: test 52 stage: test
53 script: 53 script:
54 - python3 setup.py test 54 - python3 -m unittest discover -v
55 55
56tests:debian: 56tests:debian:
57 image: $CONTAINER_REGISTRY:debian 57 image: $CONTAINER_REGISTRY:debian
58 stage: test 58 stage: test
59 script: 59 script:
60 - apt-get -qqy purge bubblewrap 60 - apt-get -qqy purge bubblewrap
61 - python3 setup.py test 61 - python3 -m unittest discover -v
62 62
63tests:debian_with_bubblewrap: 63tests:debian_with_bubblewrap:
64 image: $CONTAINER_REGISTRY:debian 64 image: $CONTAINER_REGISTRY:debian
@@ -72,7 +72,7 @@ tests:fedora:
72 image: $CONTAINER_REGISTRY:fedora 72 image: $CONTAINER_REGISTRY:fedora
73 stage: test 73 stage: test
74 script: 74 script:
75 - python3 setup.py test 75 - python3 -m unittest discover -v
76 76
77tests:gentoo: 77tests:gentoo:
78 image: $CONTAINER_REGISTRY:gentoo 78 image: $CONTAINER_REGISTRY:gentoo