File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4141 - name : Run tauri integration tests in windows
4242 # GUI apps in windows doesn't log on console. so we capture the output to a text file and print it, then fail on error.
4343 if : matrix.platform == 'windows-latest'
44+ id : windowsRun
4445 run : |
4546 "src-tauri\target\release\Phoenix File system.exe" -q > output.txt 2>&1
4647 shell : cmd
5253 type output.txt
5354 shell : cmd
5455
55- - name : Run tauri integration tests in windows and fail on error
56- if : matrix.platform == 'windows-latest'
56+ - name : Fail on test runs failed in windows
57+ if : matrix.platform == 'windows-latest' && steps.windowsRun.outcome == 'failure'
5758 run : |
58- "src-tauri\target\release\Phoenix File system.exe" -q > output.txt 2>&1
59+ echo "Windows tests failed, marking step as failed"
60+ exit 1
5961 shell : cmd
You can’t perform that action at this time.
0 commit comments