فهرست منبع

add test reporter

test macos build with gcc problem catcher, apparently it works with clang
marauder2k7 2 سال پیش
والد
کامیت
04d29e04de
3فایلهای تغییر یافته به همراه29 افزوده شده و 2 حذف شده
  1. 9 1
      .github/workflows/build-linux-gcc.yml
  2. 12 1
      .github/workflows/build-macos-clang.yml
  3. 8 0
      .github/workflows/build-windows-msvc.yml

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

@@ -84,4 +84,12 @@ jobs:
             - name: Upload Artifact
               uses: ./.github/actions/upload-artifact
               with:
-                name: torque3dLinuxGCCUnitTest
+                name: torque3dLinuxGCCUnitTest
+
+            - name: Test Reporter
+              uses: dorny/[email protected]
+              if: success() || failure()    # run this step even if previous step failed
+              with:
+                name: JEST Tests
+                path: test_detail.xml
+                reporter: jest-junit 

+ 12 - 1
.github/workflows/build-macos-clang.yml

@@ -35,6 +35,9 @@ 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
 
             - name: Install MacOSX Dependencies
               run: |
@@ -62,4 +65,12 @@ jobs:
             - name: Upload Artifact
               uses: ./.github/actions/upload-artifact
               with:
-                name: torque3dMacOSXCLANGUnitTest
+                name: torque3dMacOSXCLANGUnitTest
+
+            - name: Test Reporter
+              uses: dorny/[email protected]
+              if: success() || failure()    # run this step even if previous step failed
+              with:
+                name: JEST Tests
+                path: test_detail.xml
+                reporter: jest-junit 

+ 8 - 0
.github/workflows/build-windows-msvc.yml

@@ -62,3 +62,11 @@ jobs:
               uses: ./.github/actions/upload-artifact
               with:
                 name: torque3dWindowsMSVCUnitTest
+
+            - name: Test Reporter
+              uses: dorny/[email protected]
+              if: success() || failure()    # run this step even if previous step failed
+              with:
+                name: JEST Tests
+                path: test_detail.xml
+                reporter: jest-junit