This commit is contained in:
marauder2k7 2023-07-26 14:23:18 +01:00
parent 647074b564
commit 1e20d7a33a
2 changed files with 23 additions and 52 deletions

View file

@ -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}}

View file

@ -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}}