mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-09 05:35:31 +02:00
feat(test): add visual regression testing
Will upload screenshots on failure.
This commit is contained in:
parent
898d49e392
commit
3ca272c615
10 changed files with 105 additions and 1 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -305,6 +305,12 @@ jobs:
|
|||
if grep -q 'SCRIPT_ERROR:' output.log || grep -q 'Tests none' output.log; then
|
||||
exit 1
|
||||
fi
|
||||
- name: Upload screenshots
|
||||
uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
with:
|
||||
name: failed-screenshots
|
||||
path: test/visual_regression/screenshots
|
||||
|
||||
merge-artifacts:
|
||||
name: Merge Artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue