From 8c7b23be900a9ae0c49d4c434d7c64d4026f5d41 Mon Sep 17 00:00:00 2001 From: Ivy Fay <3936-Delmer84@users.noreply.0xacab.org> Date: Sun, 1 Dec 2019 07:58:25 -0800 Subject: [PATCH] .gitlab-ci.yml: make test command consistent across distros This switches to use "python3 -m unittest discover -v" onevery distro. --- .gitlab-ci.yml | 6 +++--- 1 file 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: image: $CONTAINER_REGISTRY:archlinux stage: test script: - - python3 setup.py test + - python3 -m unittest discover -v tests:debian: image: $CONTAINER_REGISTRY:debian stage: test script: - apt-get -qqy purge bubblewrap - - python3 setup.py test + - python3 -m unittest discover -v tests:debian_with_bubblewrap: image: $CONTAINER_REGISTRY:debian @@ -72,7 +72,7 @@ tests:fedora: image: $CONTAINER_REGISTRY:fedora stage: test script: - - python3 setup.py test + - python3 -m unittest discover -v tests:gentoo: image: $CONTAINER_REGISTRY:gentoo