Skip to content

Commit

Permalink
Continuous Integration: macOS: Fix "Run UI Tests" step to show output
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfstr committed Dec 17, 2023
1 parent 0fec6f6 commit 201ac0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/push-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ jobs:
run: "poetry run ./make-mac.sh --app-only"

- name: Run UI tests
# NOTE: Use `TERM=__interactive__` to force Crystal to print stdout and stderr
# rather than sending them to log files
run: |
CRYSTAL_SCREENSHOTS_DIRPATH=$GITHUB_WORKSPACE/screenshots "setup/dist/Crystal Web Archiver.app/Contents/MacOS/Crystal Web Archiver" --test
CRYSTAL_SCREENSHOTS_DIRPATH=$GITHUB_WORKSPACE/screenshots TERM=__interactive__ "setup/dist/Crystal Web Archiver.app/Contents/MacOS/Crystal Web Archiver" --test
- name: Upload screenshot if test failure
if: failure()
Expand Down

0 comments on commit 201ac0a

Please sign in to comment.