Skip to content

Commit 0990ded

Browse files
committed
Expand the macOS testing steps
1 parent 3ddc1b5 commit 0990ded

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/draft_release.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,36 @@ jobs:
4444
brew install pympress --only-dependencies
4545
brew install pympress --build-from-source --HEAD
4646
47-
- name: Test
47+
- name: Test help output
48+
if: always()
49+
run: |
50+
pympress --help
51+
52+
- name: Test starting pympress and quitting from the command line
53+
if: always()
54+
run: |
55+
pympress &
56+
pympress --quit
57+
wait %1
58+
59+
- name: Check the log has been created from the previous step
60+
if: always()
61+
run: |
62+
head ~/Library/Logs/pympress.log
63+
64+
- name: Run the brew test
65+
if: always()
4866
run: |
4967
brew test pympress
5068
69+
- name: Debug the brew test
70+
if: failure()
71+
run: |
72+
# NB. don’t use --debug which is interactive
73+
brew test --keep-tmp --verbose pympress | tee test.log
74+
tempdir=`sed -n '/Temporary files retained at/{n;p}' test.log`
75+
tree -a $tempdir
76+
5177
5278
srpm:
5379
name: Source RPM

0 commit comments

Comments
 (0)