diff --git a/.github/actions/upload-artifact/action.yml b/.github/actions/upload-artifact/action.yml deleted file mode 100644 index f876c5b8e..000000000 --- a/.github/actions/upload-artifact/action.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Upload Torque Test Report -description: Upload Torques unit test artifact. -inputs: - name: - description: The name of the unit test. - default: "${{github.job}}" - path: - description: The path to the upload. - required: true - default: "Torque3D/My Projects/Torque3D/game/test_detail.xml" -runs: - using: "composite" - steps: - - name: Upload Torque Test Report - uses: actions/upload-artifact@v4 - with: - name: ${{inputs.name}} - path: ${{inputs.path}} - retention-days: 1 - overwrite: true diff --git a/.github/workflows/build-linux-gcc.yml b/.github/workflows/build-linux-gcc.yml index 511cd401f..f4afbfe99 100644 --- a/.github/workflows/build-linux-gcc.yml +++ b/.github/workflows/build-linux-gcc.yml @@ -84,8 +84,9 @@ jobs: cd "${{github.workspace}}/My Projects/Torque3D/game" ./Torque3D runTests.tscript - - name: Upload Artifact - uses: ./.github/actions/upload-artifact + - name: Test Reporter + uses: phoenix-actions/test-reporting@v14 with: - name: torque3dLinuxGCCUnitTest - path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml" + name: ${{matrix.config.name}} + path: "**/My Projects/Torque3D/game/test_detail.xml" + reporter: java-junit diff --git a/.github/workflows/build-macos-clang.yml b/.github/workflows/build-macos-clang.yml index bf8a6318c..0d356d51a 100644 --- a/.github/workflows/build-macos-clang.yml +++ b/.github/workflows/build-macos-clang.yml @@ -65,8 +65,9 @@ jobs: cd "${{github.workspace}}/My Projects/Torque3D/game" ./Torque3D.app/Contents/MacOS/Torque3D runTests.tscript - - name: Upload Artifact - uses: ./.github/actions/upload-artifact + - name: Test Reporter + uses: phoenix-actions/test-reporting@v14 with: - name: torque3dMacOSXCLANGUnitTest - path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml" + name: ${{matrix.config.name}} + path: "**/My Projects/Torque3D/game/test_detail.xml" + reporter: java-junit diff --git a/.github/workflows/build-windows-msvc.yml b/.github/workflows/build-windows-msvc.yml index 603a41e17..5d3f7b09c 100644 --- a/.github/workflows/build-windows-msvc.yml +++ b/.github/workflows/build-windows-msvc.yml @@ -61,8 +61,9 @@ jobs: cd "${{github.workspace}}/My Projects/Torque3D/game" ./Torque3D.exe runTests.tscript - - name: Upload Artifact - uses: ./.github/actions/upload-artifact + - name: Test Reporter + uses: phoenix-actions/test-reporting@v14 with: - name: torque3dWindowsMSVCUnitTest - path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml" + name: ${{matrix.config.name}} + path: "**/My Projects/Torque3D/game/test_detail.xml" + reporter: java-junit diff --git a/.github/workflows/test-results-linux.yml b/.github/workflows/test-results-linux.yml deleted file mode 100644 index 725bbd572..000000000 --- a/.github/workflows/test-results-linux.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Linux Test Results -on: - workflow_run: - workflows: ["Linux Build"] - types: - - completed - -permissions: - checks: write - -jobs: - checks: - name: ${{matrix.config.name}} - runs-on: ${{matrix.config.runos}} - strategy: - fail-fast: false - matrix: - config: - - { - name: "Linux Test Results", - runos: ubuntu-latest, - artifact-name: "torque3dLinuxGCCUnitTest" - } - - steps: - - name: Download Linux Test Report - uses: dawidd6/action-download-artifact@v3 - with: - path: Linux - name: ${{matrix.config.artifact-name}} - workflow: ${{ github.event.workflow.id }} - run_id: ${{ github.event.workflow_run.id }} - - - name: Test Reporter - uses: phoenix-actions/test-reporting@v14 - with: - name: ${{matrix.config.name}} - path: "**/My Projects/Torque3D/game/test_detail.xml" - reporter: java-junit diff --git a/.github/workflows/test-results-mac.yml b/.github/workflows/test-results-mac.yml deleted file mode 100644 index f1337b00a..000000000 --- a/.github/workflows/test-results-mac.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Mac 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-13, - artifact-name: "torque3dMacOSXCLANGUnitTest" - } - - steps: - - name: Download Mac Test Report - uses: dawidd6/action-download-artifact@v3 - with: - path: macOS - name: ${{matrix.config.artifact-name}} - workflow: ${{ github.event.workflow.id }} - run_id: ${{ github.event.workflow_run.id }} - - - name: Test Reporter - uses: phoenix-actions/test-reporting@v14 - with: - 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 deleted file mode 100644 index 6a8964d4d..000000000 --- a/.github/workflows/test-results-windows.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Windows 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: Download Windows Test Report - uses: dawidd6/action-download-artifact@v3 - with: - path: Windows - name: ${{matrix.config.artifact-name}} - workflow: ${{ github.event.workflow.id }} - run_id: ${{ github.event.workflow_run.id }} - - - name: Test Reporter - uses: phoenix-actions/test-reporting@v14 - with: - name: ${{matrix.config.name}} - path: "**/My Projects/Torque3D/game/test_detail.xml" - reporter: java-junit