diff --git a/.github/workflows/test-results.yml b/.github/workflows/test-results-linux.yml similarity index 65% rename from .github/workflows/test-results.yml rename to .github/workflows/test-results-linux.yml index 9e9082fd5..9e87f3997 100644 --- a/.github/workflows/test-results.yml +++ b/.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 diff --git a/.github/workflows/test-results-mac.yml b/.github/workflows/test-results-mac.yml new file mode 100644 index 000000000..692aeb28c --- /dev/null +++ b/.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 diff --git a/.github/workflows/test-results-windows.yml b/.github/workflows/test-results-windows.yml new file mode 100644 index 000000000..c931fadc5 --- /dev/null +++ b/.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