Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,17 @@ jobs:
- name: Test with Gradle Wrapper
run: |
./gradlew :jme3-screenshot-tests:jme3-screenshot-tests-desktop:screenshotTest
- name: Report Screenshot Test failure
if: failure()
run: |
echo "::error title=Screenshot tests failed::Screenshot tests have failed.%0A%0A"\
"To review the differences:%0A"\
" 1. Download the 'screenshot-test-report' artifact from this run.%0A"\
" 2. Open jme3-screenshot-tests/build/reports/ScreenshotDiffReport.html%0A%0A"\
"If you did not intend to change any visuals: fix your changes so the tests pass.%0A"\
"If you intended to change visuals: review jme3-screenshot-tests/build/changed-images"\
" and commit replacements to jme3-screenshot-tests/src/test/resources.%0A%0A"\
"See https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-screenshot-tests/README.md for more information."
- name: Upload Test Reports
uses: actions/upload-artifact@v7.0.1
if: always()
Expand Down
138 changes: 0 additions & 138 deletions .github/workflows/screenshot-test-comment.yml

This file was deleted.

Loading