File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments