Torque3D/.github/workflows/test-results.yml
2023-07-27 08:47:03 +01:00

43 lines
1.2 KiB
YAML

name: Report Test Results
on:
workflow_run:
workflows: ["Windows Build", "Linux Build", "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: "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
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