summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-07-27 01:36:33 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2018-07-27 01:56:55 +0200
commit9fbd6798f45f93879e5b08fe885219e6340c7892 (patch)
treeac5ec0fa740db2ef13a277e96b72d480395a6871 /.gitlab-ci.yml
parentdf90f1d4ddcdc6b48dea4f5bacbc07b7d6896b75 (diff)
downloadgnome-contacts-9fbd6798f45f93879e5b08fe885219e6340c7892.tar.gz
Allow adding tests.
* Have a very basic test that calls something from Contacts.Utils, so we know that it was able to properly compile and link. * Some function access modifiers had to be changed to public, or they wouldn't be recoginzed outside of the static library. * Also make sure our CI actually runs the tests.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 446605f..412c225 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,13 +21,12 @@ flatpak:master:
- flatpak-builder --finish-only --repo=repo app data/flatpak/org.gnome.Contacts.json
# Make a Flatpak Contacts bundle for people to test
- flatpak build-bundle repo contacts-dev.flatpak --runtime-repo=https://sdk.gnome.org/gnome-nightly.flatpakrepo org.gnome.Contacts
- # TODO: Run automatic tests inside the Flatpak env
- # - xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ninja -C _build test
+ - xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ninja -C _build test
artifacts:
paths:
- contacts-dev.flatpak
- _build/meson-logs/meson-log.txt
- # - _build/meson-logs/testlog.txt
+ - _build/meson-logs/testlog.txt
expire_in: 2 days
cache:
paths: