summaryrefslogtreecommitdiff
path: root/.github/workflows/builds.sh
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-03-15 12:09:03 +0100
committermbkma <[email protected]>2026-03-22 10:28:03 +0100
commit4be5509c755a7894c1b4e03f5824d298fee1e6b5 (patch)
treecd34b361e98ac738963c561a88e5f3706289beca /.github/workflows/builds.sh
parent2c89f4575c883817a5957b25bf676e2099cbb0da (diff)
downloadmate-power-manager-gh-actions.tar.bz2
mate-power-manager-gh-actions.tar.xz
try xfvb to run tests with virtual displaygh-actions
Diffstat (limited to '.github/workflows/builds.sh')
-rwxr-xr-x.github/workflows/builds.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/builds.sh b/.github/workflows/builds.sh
index 992281a..e26e6d2 100755
--- a/.github/workflows/builds.sh
+++ b/.github/workflows/builds.sh
@@ -27,9 +27,7 @@ if [ -f meson.build ]; then
infoend
infobegin "Test (meson)"
- ninja -C _build test || {
- true
- }
+ xvfb-run -a ninja -C _build test
infoend
infobegin "Dist (meson)"
@@ -37,7 +35,7 @@ if [ -f meson.build ]; then
# https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9
# https://git-scm.com/docs/git-config/2.35.2#Documentation/git-config.txt-safedirectory
git config --global --add safe.directory ${PWD}
- meson dist -C _build --no-tests
+ xvfb-run -a meson dist -C _build
infoend
fi