diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dc8e74f..6aa8c50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,4 +75,17 @@ jobs: $flags += '-lpthread' } & '${{ steps.setup.outputs.clangxx }}' $flags - & (Join-Path . foo) + + - name: Run foo.exe + run: | + $expected = @" + Doing something #1 + Doing something #2 + Doing something #3 + "@ + $actual = & (Join-Path . foo) + $actual = $actual -join [Environment]::NewLine + $($actual -eq $expected) -or $(throw @" + Unexpected output: + $actual + "@) |