GitLab CI: always run ninja test unless otherwise specified

Now that the test suite has been cleaned up to be useful even when we can't
run the main runner, let's always run ninja test. Except in the targets where
we want something different.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-07-03 16:03:51 +10:00
parent e723398c14
commit 01d2e38bf4

View file

@ -45,11 +45,13 @@ variables:
ARCH_PKGS: 'git gcc pkgconfig meson check libsystemd libevdev doxygen graphviz valgrind binutils libwacom gtk3 mtdev '
############################ end of package lists #############################
MESON_BUILDDIR: builddir
NINJA_ARGS: ''
NINJA_ARGS: 'test'
MESON_PARAMS: ''
FEDORA_DOCKER_IMAGE: $CI_REGISTRY/libinput/$CI_PROJECT_NAME/fedora/$FEDORA_VERSION
UBUNTU_DOCKER_IMAGE: $CI_REGISTRY/libinput/$CI_PROJECT_NAME/ubuntu/$UBUNTU_VERSION
ARCH_DOCKER_IMAGE: $CI_REGISTRY/libinput/$CI_PROJECT_NAME/arch/rolling
# Until we have a VM with full access, we cannot run the test suite runner
SKIP_LIBINPUT_TEST_SUITE_RUNNER: 1
# When using docker-in-docker (dind), it's wise to use the overlayfs driver
# for improved performance.
DOCKER_DRIVER: overlay2
@ -571,14 +573,6 @@ fedora:28@build-no-tests-nodeps:
before_script:
- dnf remove -y check-devel
fedora:28@build-run-tests:
<<: *fedora_28_template
<<: *default_build
variables:
FEDORA_VERSION: 28
SKIP_LIBINPUT_TEST_SUITE_RUNNER: 1
NINJA_ARGS: "test"
fedora:28@scan-build:
<<: *fedora_28_template
<<: *default_build