marauder2k7 2 år sedan
förälder
incheckning
b85a256c1c

+ 1 - 11
.github/workflows/test-results.yml → .github/workflows/test-results-linux.yml

@@ -1,7 +1,7 @@
 name: Report Test Results
 on:
   workflow_run:
-    workflows: ["Windows Build", "Linux Build", "MacOSX Build"]
+    workflows: ["Linux Build"]
     types:
       - completed
 
@@ -16,21 +16,11 @@ jobs:
             fail-fast: false
             matrix:
               config: 
-              - {
-                  name: "Windows Test Results",
-                  runos: windows-latest,
-                  artifact-name: "torque3dLinuxGCCUnitTest"
-                }
               - {
                   name: "Linux Test Results",
                   runos: ubuntu-latest,
                   artifact-name: "torque3dLinuxGCCUnitTest"
                 }
-              - {
-                  name: "Mac Test Results",
-                  runos: macos-latest,
-                  artifact-name: "torque3dMacOSXCLANGUnitTest"
-                }
               
         steps:
             - name: Test Reporter

+ 32 - 0
.github/workflows/test-results-mac.yml

@@ -0,0 +1,32 @@
+name: Report Test Results
+on:
+  workflow_run:
+    workflows: ["MacOSX Build"]
+    types:
+      - completed
+
+permissions:
+    checks: write
+
+jobs:
+    checks:
+        name: ${{matrix.config.name}}
+        runs-on: ${{matrix.config.runos}}
+        strategy:
+            fail-fast: false
+            matrix:
+              config:
+              - {
+                  name: "Mac Test Results",
+                  runos: macos-latest,
+                  artifact-name: "torque3dMacOSXCLANGUnitTest"
+                }
+              
+        steps:
+            - name: Test Reporter
+              uses: phoenix-actions/test-reporting@v12
+              with:
+                artifact: ${{matrix.config.artifact-name}}
+                name: ${{matrix.config.name}}
+                path: "**/My Projects/Torque3D/game/test_detail.xml"
+                reporter: java-junit 

+ 32 - 0
.github/workflows/test-results-windows.yml

@@ -0,0 +1,32 @@
+name: Report Test Results
+on:
+  workflow_run:
+    workflows: ["Windows Build"]
+    types:
+      - completed
+
+permissions:
+    checks: write
+
+jobs:
+    checks:
+        name: ${{matrix.config.name}}
+        runs-on: ${{matrix.config.runos}}
+        strategy:
+            fail-fast: false
+            matrix:
+              config: 
+              - {
+                  name: "Windows Test Results",
+                  runos: windows-latest,
+                  artifact-name: "torque3dWindowsMSVCUnitTest"
+                }
+
+        steps:
+            - name: Test Reporter
+              uses: phoenix-actions/test-reporting@v12
+              with:
+                artifact: ${{matrix.config.artifact-name}}
+                name: ${{matrix.config.name}}
+                path: "**/My Projects/Torque3D/game/test_detail.xml"
+                reporter: java-junit