Skip to content

Commit

Permalink
Make sure all tests need to pass for ci to pass, not just last
Browse files Browse the repository at this point in the history
  • Loading branch information
Laupetin authored and Clang Format committed Dec 22, 2023
1 parent 93aae11 commit 9dc7ce2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,18 @@ jobs:
- name: Test
working-directory: ${{ github.workspace }}/build/lib/Release_x86/tests
run: |
$combinedExitCode = 0
./ObjCommonTests
$combinedExitCode = [System.Math]::max($combinedExitCode, $LASTEXITCODE)
./ObjLoadingTests
$combinedExitCode = [System.Math]::max($combinedExitCode, $LASTEXITCODE)
./ParserTests
$combinedExitCode = [System.Math]::max($combinedExitCode, $LASTEXITCODE)
./ZoneCodeGeneratorLibTests
$combinedExitCode = [System.Math]::max($combinedExitCode, $LASTEXITCODE)
./ZoneCommonTests
$combinedExitCode = [System.Math]::max($combinedExitCode, $LASTEXITCODE)
exit $combinedExitCode
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 9dc7ce2

Please sign in to comment.