Skip to content

Commit 206911f

Browse files
committed
fix: tests action logic
1 parent 48dc345 commit 206911f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,16 @@ jobs:
6363
foreach ($testFile in $testFiles) {
6464
Write-Output "Running test: $($testFile.FullName)"
6565
66-
# Run Simba-Win32.exe
67-
$output32 = .\Simba-Win32.exe --run $testFile.FullName
68-
Write-Output $output32
69-
if (-not ($output32 -match "Successfully executed")) {
66+
$output = .\Simba-Win32.exe --run $testFile.FullName
67+
Write-Output $output
68+
if (-not ($output -match "Successfully executed in \d+ milliseconds\.")) {
7069
Write-Output "::error::Simba-Win32.exe failed on $($testFile.Name)."
7170
exit 1
7271
}
7372
74-
# Run Simba-Win64.exe
75-
$output64 = .\Simba-Win64.exe --run $testFile.FullName
76-
Write-Output $output64
77-
if (-not ($output64 -match "Successfully executed")) {
73+
$output = .\Simba-Win64.exe --run $testFile.FullName
74+
Write-Output $output
75+
if (-not ($output -match "Successfully executed in \d+ milliseconds\.")) {
7876
Write-Output "::error::Simba-Win64.exe failed on $($testFile.Name)."
7977
exit 1
8078
}

0 commit comments

Comments
 (0)