mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
test results
-run test results as a separate task
This commit is contained in:
parent
bbe0198709
commit
a603180774
3 changed files with 42 additions and 8 deletions
23
.github/actions/test-results/action.yml
vendored
Normal file
23
.github/actions/test-results/action.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
name: Build Torque Test Report
|
||||||
|
description: Upload Torques unit test artifact.
|
||||||
|
inputs:
|
||||||
|
name:
|
||||||
|
description: The name of the unit test.
|
||||||
|
default: "${{github.job}}"
|
||||||
|
artifact-name:
|
||||||
|
description: The name of the artifact.
|
||||||
|
required: true
|
||||||
|
path:
|
||||||
|
description: The path to the upload.
|
||||||
|
required: true
|
||||||
|
default: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Test Reporter
|
||||||
|
uses: phoenix-actions/test-reporting@v12
|
||||||
|
with:
|
||||||
|
artifact: torque3dWindowsMSVCUnitTest
|
||||||
|
name: ${{inputs.name}}
|
||||||
|
path: ${{inputs.path}}
|
||||||
|
reporter: java-junit
|
||||||
8
.github/workflows/build-windows-msvc.yml
vendored
8
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -62,11 +62,3 @@ jobs:
|
||||||
uses: ./.github/actions/upload-artifact
|
uses: ./.github/actions/upload-artifact
|
||||||
with:
|
with:
|
||||||
name: torque3dWindowsMSVCUnitTest
|
name: torque3dWindowsMSVCUnitTest
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
|
||||||
19
.github/workflows/test-results-windows.yml
vendored
Normal file
19
.github/workflows/test-results-windows.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Windows Test Results
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: [Windows Build 🟥🟩🟦🟨]
|
||||||
|
types: [ completed ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
checks: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
checks:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: ./.github/actions/upload-artifact
|
||||||
|
with:
|
||||||
|
artifact-name: torque3dWindowsMSVCUnitTest
|
||||||
|
name: Windows Test Results
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue