diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec55606..aaec253 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,12 @@ jobs: ) ..\install\bin\winapi-common-unit-tests.exe $args if: runner.os == 'Windows' + - name: Check test report (w/o console tests) + run: | + cat ..\test_logs\report.txt + $last_line = Get-Content ..\test_logs\report.txt -Tail 1 + $($last_line -eq '*** No errors detected') -or $(throw $last_line) + if: runner.os == 'Windows' - name: Run unit tests (console tests) run: | $args = @( @@ -108,6 +114,12 @@ jobs: -ArgumentList $args ` -Wait if: runner.os == 'Windows' + - name: Check test report (console tests) + run: | + cat ..\test_logs\report_console.txt + $last_line = Get-Content ..\test_logs\report_console.txt -Tail 1 + $($last_line -eq '*** No errors detected') -or $(throw $last_line) + if: runner.os == 'Windows' - name: Upload the test logs uses: actions/upload-artifact@v2 with: |