Add failing Windows Test CI if FlaxTests.exe fails

This commit is contained in:
Wojtek Figat
2025-01-21 11:52:27 +01:00
parent 9fd98c8e12
commit 3b5f953b3d

View File

@@ -75,6 +75,10 @@ jobs:
- name: Test
run: |
.\Binaries\Editor\Win64\Development\FlaxTests.exe
IF NOT %ERRORLEVEL% == 0 (
echo FlaxTests.exe failed with exit code %ERRORLEVEL%
exit 1
)
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