[neon/backports-focal/xdg-desktop-portal/Neon/unstable] .github/workflows: CI: Run installed-tests
Simon McVittie
null at kde.org
Wed Jan 13 06:32:43 GMT 2021
Git commit d0b2459d98d8de07003ebb63fccda488a7ed6774 by Simon McVittie.
Committed on 09/09/2020 at 12:01.
Pushed by ash into branch 'Neon/unstable'.
CI: Run installed-tests
Signed-off-by: Simon McVittie <smcv at collabora.com>
M +11 -1 .github/workflows/check.yml
https://invent.kde.org/neon/backports-focal/xdg-desktop-portal/commit/d0b2459d98d8de07003ebb63fccda488a7ed6774
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index ce4bfb6..eba9202 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -20,7 +20,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y libglib2.0-dev automake autoconf libtool gettext autopoint dbus \
gtk-doc-tools shared-mime-info desktop-file-utils clang meson libdbus-1-dev libgeoclue-2-dev \
- libjson-glib-dev libfontconfig1-dev libfuse-dev
+ libjson-glib-dev libfontconfig1-dev libfuse-dev gnome-desktop-testing
- name: Check out xdg-desktop-portal
uses: actions/checkout at v1
with:
@@ -57,6 +57,16 @@ jobs:
- name: Collect individual test logs on cancel
if: failure() || cancelled()
run: mv tests/*.log test-logs/ || true
+ - name: Install
+ run: sudo make install
+ - name: Run xdg-desktop-portal installed-tests
+ run: |
+ mkdir -p test-logs/installed
+ gnome-desktop-testing-runner --report-directory test-logs/installed xdg-desktop-portal
+ env:
+ G_MESSAGES_DEBUG: all
+ TEST_IN_CI: 1
+ ASAN_OPTIONS: detect_leaks=0 # Right now we're not fully clean, but this gets us use-after-free etc
- name: Upload test logs
uses: actions/upload-artifact at v1
if: failure() || cancelled()
More information about the Neon-commits
mailing list