summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2018-07-28 13:05:06 +0200
committerFlorian Müllner <fmuellner@gnome.org>2018-08-01 18:36:54 +0200
commit92196e677afce8a2c5f349787978b5d80a8b97a1 (patch)
treeca1b9766556f339acc98719d573a5bb46d1e8346 /.gitlab-ci.yml
parentc01dde2afe061593cf1138ce1ec219185ab5eb76 (diff)
downloadgnome-desktop-92196e677afce8a2c5f349787978b5d80a8b97a1.tar.gz
ci: Run installed tests
Some of the available tests are not covered by `make check`, but require to be run through the installed-tests framework. https://gitlab.gnome.org/GNOME/gnome-desktop/merge_requests/5
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index de8b4eb7..ab57b56a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,7 @@ variables:
gobject-introspection-devel systemd-devel iso-codes-devel
libseccomp-devel gcc gcc-c++ glibc-devel gnome-common
make redhat-rpm-config
+ TEST_DEPENDENCIES: gnome-desktop-testing xorg-x11-server-Xvfb glibc-langpack-he
build_stable:
before_script:
@@ -15,12 +16,15 @@ build_stable:
- dnf shell -y --nogpgcheck translist.txt
- dnf update -y --nogpgcheck
- dnf install -y --nogpgcheck $DEPENDENCIES
+ - dnf install -y --nogpgcheck $TEST_DEPENDENCIES
# Work-around itstool crasher: https://github.com/itstool/itstool/commit/9b84c007a73e8275ca45762f1bfa3ab7c3a852e2
- rpm -Uvh https://kojipkgs.fedoraproject.org//work/tasks/3068/28763068/itstool-2.0.4-4.fc29.noarch.rpm
script:
- mkdir build
- cd build
- - ../autogen.sh --disable-dependency-tracking
+ - ../autogen.sh --disable-dependency-tracking --enable-installed-tests --prefix=/usr
- make
- make install
- make check
+ - xvfb-run -a -s "-screen 0 1024x768x24"
+ gnome-desktop-testing-runner gnome-desktop