mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 06:33:49 +00:00
test runner
This commit is contained in:
parent
fba034195e
commit
a43675be7e
4 changed files with 120 additions and 1 deletions
1
.github/workflows/build-windows-msvc.yml
vendored
1
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -9,7 +9,6 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
jobs:
|
||||
build-windows:
|
||||
if: github.repository == 'TorqueGameEngines/Torque3D'
|
||||
name: ${{matrix.config.name}}
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
|
|
|
|||
40
.github/workflows/test-results-linux.yml
vendored
Normal file
40
.github/workflows/test-results-linux.yml
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
name: Report 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@v2
|
||||
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@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-mac.yml
vendored
Normal file
40
.github/workflows/test-results-mac.yml
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
name: Report 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: Report 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue