diff options
-rw-r--r-- | .gitlab-ci.yml | 7 | ||||
-rwxr-xr-x | .gitlab-ci/test-flatpak.sh | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e899b5d..21ce5982 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -116,3 +116,10 @@ xenial-i386-py2: image: registry.gitlab.gnome.org/gnome/pygobject/old:v2 script: - bash -x ./.gitlab-ci/test-docker-old.sh + +gnome-master: + allow_failure: true + stage: build_and_test + image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master + script: + - xvfb-run -a flatpak run --filesystem=host --share=network --socket=x11 --command=bash org.gnome.Sdk//master -x .gitlab-ci/test-flatpak.sh diff --git a/.gitlab-ci/test-flatpak.sh b/.gitlab-ci/test-flatpak.sh new file mode 100755 index 00000000..3e3a9923 --- /dev/null +++ b/.gitlab-ci/test-flatpak.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -e + +python3 -m pip install --user pytest +python3 setup.py test |