Skip to content

Commit 57787f7

Browse files
authored
Fix CI scripts not reporting test errors (#521)
* Update GcdTest.cs * Update tests.yaml * Revert "Update GcdTest.cs" This reverts commit 3830e10. * Update tests.yaml * Update GcdTest.cs * Update tests.yaml * Revert "Update GcdTest.cs" This reverts commit 52e8742.
1 parent 7d3feb5 commit 57787f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@ jobs:
4242
./scripts/install_toolchain.ps1 ./examples
4343
dotnet restore ./src
4444
dotnet build ./src --configuration ${{ env.CONFIGURATION }} --no-restore
45+
4546
dotnet test ./src --no-build --filter 'FullyQualifiedName!~Draco.Examples.Tests'
47+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
48+
4649
cd ./src/Draco.Examples.Tests
50+
4751
dotnet test --no-build
52+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
53+
4854
cd ../..

0 commit comments

Comments
 (0)