diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c908e2f..530db0a 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -79,6 +79,26 @@ jobs: run: | find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck + references: + name: Generate References + runs-on: ubuntu-22.04 + if: > + github.event_name == 'push' && contains(github.event.head_commit.message, '[generate-references]') + steps: + - uses: actions/checkout@v3 + - name: Download Dependencies + run: | + sudo apt update -qq + sudo apt install gettext imagemagick -qq + - name: Build Burn-My-Windows + run: make + - name: Generate References + run: sudo make references + - uses: actions/upload-artifact@v3 + with: + name: references + path: tests/references/ + build: name: Run Tests runs-on: ubuntu-22.04 diff --git a/Makefile b/Makefile index 62f8221..b73b675 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ pot: $(JS_FILES) $(UI_FILES) # This runs several tests in containerized versions of GNOME Shell. test: - @ for version in 39 ; do \ + @ for version in 39 "rawhide" ; do \ for session in "gnome-xsession" "gnome-wayland-nested" ; do \ echo ; \ echo "Running Tests on Fedora $$version ($$session)." ; \ @@ -59,7 +59,7 @@ test: # This re-generates all reference images required by the tests. references: - @ for version in 39 ; do \ + @ for version in 39 "rawhide" ; do \ for session in "gnome-xsession" "gnome-wayland-nested" ; do \ echo ; \ echo "Generating References for Fedora $$version ($$session)." ; \