From 1e20d7a33a1dbdf4b55675e664189171fe96b6e6 Mon Sep 17 00:00:00 2001 From: marauder2k7 Date: Wed, 26 Jul 2023 14:23:18 +0100 Subject: [PATCH] rename --- .github/workflows/test-results-windows.yml | 36 -------------------- .github/workflows/test-results.yml | 39 +++++++++++++--------- 2 files changed, 23 insertions(+), 52 deletions(-) delete mode 100644 .github/workflows/test-results-windows.yml diff --git a/.github/workflows/test-results-windows.yml b/.github/workflows/test-results-windows.yml deleted file mode 100644 index 5d1a73eb8..000000000 --- a/.github/workflows/test-results-windows.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Windows Test Results -on: - workflow_run: - workflows: [Windows Build 🟥🟩🟦🟨, Linux Build 🐧, MacOSX Build 🍎] - types: [ completed ] - -permissions: - checks: write - -jobs: - checks: - 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: ${{matrix.config.artifact-name}} - name: ${{matrix.config.name}} - diff --git a/.github/workflows/test-results.yml b/.github/workflows/test-results.yml index 9f67a2d34..5d1a73eb8 100644 --- a/.github/workflows/test-results.yml +++ b/.github/workflows/test-results.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,21 +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: Download Windows - uses: dawidd6/action-download-artifact@v2 + - name: Upload Artifact + uses: ./.github/actions/upload-artifact with: - path: Windows - name: torque3dWindowsMSVCUnitTest - workflow: ${{ github.event.workflow.id }} - run_id: ${{ github.event.workflow_run.id }} - - - 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 + artifact-name: ${{matrix.config.artifact-name}} + name: ${{matrix.config.name}}