Browse Source

test results for each

marauder2k7 2 years ago
parent
commit
647074b564

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

@@ -85,12 +85,3 @@ jobs:
               uses: ./.github/actions/upload-artifact
               with:
                 name: torque3dLinuxGCCUnitTest
-
-            - name: Test Reporter
-              uses: phoenix-actions/test-reporting@v12
-              if: success() || failure()    # run this step even if previous step failed
-              with:
-                artifact: torque3dLinuxGCCUnitTest
-                name: Build Tests
-                path: My Projects/Torque3D/game/test_*.xml
-                reporter: java-junit 

+ 0 - 8
.github/workflows/build-macos-clang.yml

@@ -66,11 +66,3 @@ jobs:
               uses: ./.github/actions/upload-artifact
               with:
                 name: torque3dMacOSXCLANGUnitTest
-
-            - name: Test Reporter
-              uses: phoenix-actions/test-reporting@v12
-              if: success() || failure()    # run this step even if previous step failed
-              with:
-                name: Build Tests
-                path: My Projects/Torque3D/game/test_*.xml
-                reporter: java-junit 

+ 21 - 4
.github/workflows/test-results-windows.yml

@@ -1,7 +1,7 @@
 name: Windows Test Results
 on:
   workflow_run:
-    workflows: [Windows Build 🟥🟩🟦🟨]
+    workflows: [Windows Build 🟥🟩🟦🟨, Linux Build 🐧, MacOSX Build 🍎]
     types: [ completed ]
 
 permissions:
@@ -9,11 +9,28 @@ permissions:
 
 jobs:
   checks:
-    runs-on: windows-latest
+    runs-on: ${{matrix.config.runos}}
+    strategy:
+        fail-fast: false
+        matrix:
+          config:
+          - {
+                name: "Windows Test Results",
+                runos: windows-latest,
+                artifact-name: "torque3dLinuxGCCUnitTest"
+            }
+          - {
+              name: "Ubuntu Test Results",
+              artifact-name: "torque3dLinuxGCCUnitTest"
+            }
+          - {
+                name: "Mac Test Results",
+                artifact-name: "torque3dMacOSXCLANGUnitTest"
+            }
     steps:
       - name: Upload Artifact
         uses: ./.github/actions/upload-artifact
         with:
-          artifact-name: torque3dWindowsMSVCUnitTest
-          name: Windows Test Results
+          artifact-name: ${{matrix.config.artifact-name}}
+          name: ${{matrix.config.name}}