🔧 Execute tests on more GNOME versions

This commit is contained in:
Simon Schneegans
2023-04-01 21:47:19 +02:00
parent 70bfbac890
commit e5907292ed
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -116,6 +116,8 @@ jobs:
- '35' - '35'
- '36' - '36'
- '37' - '37'
- '38'
- 'rawhide'
session: session:
- 'gnome-xsession' - 'gnome-xsession'
- 'gnome-wayland-nested' - 'gnome-wayland-nested'
+4 -2
View File
@@ -30,6 +30,8 @@
# -v 35: GNOME Shell 41 # -v 35: GNOME Shell 41
# -v 36: GNOME Shell 42 # -v 36: GNOME Shell 42
# -v 37: GNOME Shell 43 # -v 37: GNOME Shell 43
# -v 38: GNOME Shell 44
# -v rawhide: The current GNOME Shell version of Fedora Rawhide
# -s session: This can either be "gnome-xsession" or "gnome-wayland-nested". # -s session: This can either be "gnome-xsession" or "gnome-wayland-nested".
# Exit on error. # Exit on error.
@@ -163,7 +165,7 @@ do_in_pod gnome-extensions install "${EXTENSION}.zip"
# Starting with GNOME 40, there is a "Welcome Tour" dialog popping up at first launch. # Starting with GNOME 40, there is a "Welcome Tour" dialog popping up at first launch.
# We disable this beforehand. # We disable this beforehand.
if [[ "${FEDORA_VERSION}" -gt 33 ]]; then if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
echo "Disabling welcome tour." echo "Disabling welcome tour."
do_in_pod gsettings set org.gnome.shell welcome-dialog-last-shown-version "999" || true do_in_pod gsettings set org.gnome.shell welcome-dialog-last-shown-version "999" || true
fi fi
@@ -180,7 +182,7 @@ do_in_pod gnome-extensions enable "${EXTENSION}"
# Starting with GNOME 40, the overview is the default mode. We close this here by hitting # Starting with GNOME 40, the overview is the default mode. We close this here by hitting
# the super key. # the super key.
if [[ "${FEDORA_VERSION}" -gt 33 ]]; then if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
echo "Closing Overview." echo "Closing Overview."
send_keystroke "super" send_keystroke "super"
fi fi