1
0
mirror of synced 2024-11-21 16:54:23 +01:00

.gitlab-ci.yml: make test command consistent across distros

This switches to use "python3 -m unittest discover -v" onevery distro.
This commit is contained in:
Ivy Fay 2019-12-01 07:58:25 -08:00 committed by georg
parent db797e3a52
commit 8c7b23be90
No known key found for this signature in database
GPG Key ID: 461BEE5D240A9E91

View File

@ -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