aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/test.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index bf87d6b..e4a9c1d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -76,4 +76,17 @@ jobs:
$flags += '-lpthread'
}
& g++ $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
+ "@)