mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Merge pull request #1067 from marauder2k9-torque/TestReporter
Update test-results.yml
This commit is contained in:
commit
7c37b38f03
4 changed files with 95 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
name: Report Test Results
|
name: Linux Test Results
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Windows Build", "Linux Build", "MacOSX Build"]
|
workflows: ["Linux Build"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
|
|
@ -16,25 +16,25 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- {
|
|
||||||
name: "Windows Test Results",
|
|
||||||
runos: windows-latest,
|
|
||||||
artifact-name: "torque3dLinuxGCCUnitTest"
|
|
||||||
}
|
|
||||||
- {
|
- {
|
||||||
name: "Linux Test Results",
|
name: "Linux Test Results",
|
||||||
|
runos: ubuntu-latest,
|
||||||
artifact-name: "torque3dLinuxGCCUnitTest"
|
artifact-name: "torque3dLinuxGCCUnitTest"
|
||||||
}
|
}
|
||||||
- {
|
|
||||||
name: "Mac Test Results",
|
|
||||||
artifact-name: "torque3dMacOSXCLANGUnitTest"
|
|
||||||
}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Download Linux Test Report
|
||||||
|
uses: dawidd6/action-download-artifact@v2
|
||||||
|
with:
|
||||||
|
path: Linux
|
||||||
|
name: ${{matrix.config.artifact-name}}
|
||||||
|
workflow: ${{ github.event.workflow.id }}
|
||||||
|
run_id: ${{ github.event.workflow_run.id }}
|
||||||
|
|
||||||
- name: Test Reporter
|
- name: Test Reporter
|
||||||
uses: phoenix-actions/test-reporting@v12
|
uses: phoenix-actions/test-reporting@v12
|
||||||
with:
|
with:
|
||||||
artifact: ${{matrix.config.artifact-name}}
|
artifact: ${{matrix.config.artifact-name}}
|
||||||
name: ${{matrix.config.name}}
|
name: ${{matrix.config.name}}
|
||||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||||
reporter: java-junit
|
reporter: java-junit
|
||||||
40
.github/workflows/test-results-mac.yml
vendored
Normal file
40
.github/workflows/test-results-mac.yml
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
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-latest,
|
||||||
|
artifact-name: "torque3dMacOSXCLANGUnitTest"
|
||||||
|
}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Download Mac Test Report
|
||||||
|
uses: dawidd6/action-download-artifact@v2
|
||||||
|
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@v12
|
||||||
|
with:
|
||||||
|
artifact: ${{matrix.config.artifact-name}}
|
||||||
|
name: ${{matrix.config.name}}
|
||||||
|
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||||
|
reporter: java-junit
|
||||||
40
.github/workflows/test-results-windows.yml
vendored
Normal file
40
.github/workflows/test-results-windows.yml
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
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@v2
|
||||||
|
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@v12
|
||||||
|
with:
|
||||||
|
artifact: ${{matrix.config.artifact-name}}
|
||||||
|
name: ${{matrix.config.name}}
|
||||||
|
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||||
|
reporter: java-junit
|
||||||
|
|
@ -11,11 +11,11 @@ MIT Licensed Open Source version of [Torque3D](https://torque3d.org) from [Garag
|
||||||
|
|
||||||
**Build Status:**
|
**Build Status:**
|
||||||
|
|
||||||
[](https://github.com/TorqueGameEngines/Torque3D/actions/workflows/build-windows-msvc.yml)
|
[](https://github.com/TorqueGameEngines/Torque3D/actions/workflows/build-windows-msvc.yml)
|
||||||
|
|
||||||
[](https://github.com/TorqueGameEngines/Torque3D/actions/workflows/build-linux-gcc.yml)
|
[](https://github.com/TorqueGameEngines/Torque3D/actions/workflows/build-linux-gcc.yml)
|
||||||
|
|
||||||
[](https://github.com/TorqueGameEngines/Torque3D/actions/workflows/build-macos-clang.yml)
|
[](https://github.com/TorqueGameEngines/Torque3D/actions/workflows/build-macos-clang.yml)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue