diff options
| author | mbkma <[email protected]> | 2026-03-15 12:09:03 +0100 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-03-16 16:35:26 -0400 |
| commit | 50d8dfd946af5c352b51e5f4e79c000959bea85e (patch) | |
| tree | cbd8c56742919622c8a9901207109194f52a8720 | |
| parent | c38285df7cafcd262f3cd898f037bc8547537bfe (diff) | |
| download | mate-power-manager-gh-actions.tar.bz2 mate-power-manager-gh-actions.tar.xz | |
try xfvb to run tests with virtual displaygh-actions
| -rwxr-xr-x | .github/workflows/archlinux.sh | 2 | ||||
| -rwxr-xr-x | .github/workflows/builds.sh | 6 | ||||
| -rwxr-xr-x | .github/workflows/debian.sh | 1 | ||||
| -rwxr-xr-x | .github/workflows/fedora.sh | 1 | ||||
| -rwxr-xr-x | .github/workflows/ubuntu.sh | 1 |
5 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/archlinux.sh b/.github/workflows/archlinux.sh index c58c655..26df3cb 100755 --- a/.github/workflows/archlinux.sh +++ b/.github/workflows/archlinux.sh @@ -37,7 +37,7 @@ requires+=( python upower which - yelp-tools + xorg-server-xvfb ) infobegin "Update system" diff --git a/.github/workflows/builds.sh b/.github/workflows/builds.sh index 992281a..afaee34 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 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 meson dist -C _build infoend fi diff --git a/.github/workflows/debian.sh b/.github/workflows/debian.sh index b85052b..d0e80f0 100755 --- a/.github/workflows/debian.sh +++ b/.github/workflows/debian.sh @@ -46,6 +46,7 @@ requires+=( gobject-introspection libgirepository1.0-dev libdconf-dev + xvfb ) infobegin "Update system" diff --git a/.github/workflows/fedora.sh b/.github/workflows/fedora.sh index b71a495..32893cf 100755 --- a/.github/workflows/fedora.sh +++ b/.github/workflows/fedora.sh @@ -40,6 +40,7 @@ requires+=( iso-codes-devel gobject-introspection-devel dconf-devel + xorg-x11-server-Xvfb ) infobegin "Update system" diff --git a/.github/workflows/ubuntu.sh b/.github/workflows/ubuntu.sh index 888fde1..6635065 100755 --- a/.github/workflows/ubuntu.sh +++ b/.github/workflows/ubuntu.sh @@ -44,6 +44,7 @@ requires+=( gobject-introspection libgirepository1.0-dev libdconf-dev + xvfb ) infobegin "Update system" |
