[nautilus] gitlabci: use xvfb and enable all the tests
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] gitlabci: use xvfb and enable all the tests
- Date: Thu, 22 Mar 2018 03:53:35 +0000 (UTC)
commit 215e0f62919bec6bae15e05605e559e4ed89ee31
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Wed Mar 21 08:25:08 2018 +0200
gitlabci: use xvfb and enable all the tests
.gitlab-ci.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9105a9a98..26091de22 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,16 +15,18 @@ flatpak:master:
image: registry.gitlab.com/alatiera/gnome-nightly-oci/gnome-master:latest
stage: test
script:
+ - dnf install -y xorg-x11-server-Xvfb
+
- flatpak-builder --stop-at=nautilus app build-aux/flatpak/org.gnome.Nautilus.json
# Make sure to keep this in sync with the Flatpak manifest, all arguments
# are passed except the config-args because we build it ourselves
- - flatpak build app meson --prefix=/app --libdir=/app/lib -Dprofile=development _build
+ - flatpak build app meson --prefix=/app --libdir=/app/lib -Dprofile=development -Dtests=all _build
- flatpak build app ninja -C _build install
- flatpak-builder --finish-only --repo=repo app build-aux/flatpak/org.gnome.Nautilus.json
# Make a Flatpak Nautilus bundle for people to test
- flatpak build-bundle repo nautilus-dev.flatpak
--runtime-repo=https://sdk.gnome.org/gnome-nightly.flatpakrepo org.gnome.NautilusDevel
# Run automatic tests inside the Flatpak env
- - flatpak build app ninja -C _build test
+ - xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ninja -C _build test
artifacts:
paths:
- nautilus-dev.flatpak
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]