diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 67709be46..7c28121fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -77,7 +77,7 @@ jobs: run: | $ErrorActionPreference = "Stop" .\Binaries\Editor\Win64\Development\FlaxTests.exe - if(!$?) { Exit LastExitCode } + if(!$?) { Write-Host "Tests failed with exit code $LastExitCode" -ForegroundColor Red; Exit $LastExitCode } dotnet test -f net8.0 Binaries\Tests\Flax.Build.Tests.dll xcopy /y Binaries\Editor\Win64\Development\FlaxEngine.CSharp.dll Binaries\Tests xcopy /y Binaries\Editor\Win64\Development\FlaxEngine.CSharp.runtimeconfig.json Binaries\Tests