Ver código fonte

test report file

-fix test report file path
marauder2k7 2 anos atrás
pai
commit
3ba845cd6f

+ 1 - 1
.github/workflows/build-linux-gcc.yml

@@ -91,5 +91,5 @@ jobs:
               if: success() || failure()    # run this step even if previous step failed
               with:
                 name: JEST Tests
-                path: test_detail.xml
+                path: ${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml
                 reporter: jest-junit 

+ 2 - 2
.github/workflows/build-macos-clang.yml

@@ -35,7 +35,7 @@ jobs:
               run: |
                 echo github.event.action: ${{ github.event.action }}
                 echo github.event_name: ${{ github.event_name }}
-                
+
             - name: Setup GCC problem matcher
               uses: ammaraskar/gcc-problem-matcher@master
 
@@ -72,5 +72,5 @@ jobs:
               if: success() || failure()    # run this step even if previous step failed
               with:
                 name: JEST Tests
-                path: test_detail.xml
+                path: ${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml
                 reporter: jest-junit 

+ 1 - 1
.github/workflows/build-windows-msvc.yml

@@ -68,5 +68,5 @@ jobs:
               if: success() || failure()    # run this step even if previous step failed
               with:
                 name: JEST Tests
-                path: test_detail.xml
+                path: ${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml
                 reporter: jest-junit 

+ 1 - 0
Engine/source/testing/windowManagerTest.cpp

@@ -28,6 +28,7 @@
 #include "windowManager/sdl/sdlWindowMgr.h"
 #include "core/util/tVector.h"
 
+#include <SDL.h>
 
 using ::testing::Matcher;
 using ::testing::TypedEq;