mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #1006 from lukaspj/fix-test-reporting
WIP: Fix test reporting to work with multiple OS
This commit is contained in:
commit
9d0cb3cc41
4
.github/workflows/cmake.yml
vendored
4
.github/workflows/cmake.yml
vendored
|
|
@ -70,6 +70,6 @@ jobs:
|
|||
uses: actions/upload-artifact@v3
|
||||
if: always() # always run even if the previous step fails
|
||||
with:
|
||||
name: junit-test-results
|
||||
path: '${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml'
|
||||
name: junit-test-results-${{ runner.os }}
|
||||
path: '**/My Projects/Torque3D/game/test_detail.xml'
|
||||
retention-days: 1
|
||||
|
|
|
|||
26
.github/workflows/test-results.yml
vendored
26
.github/workflows/test-results.yml
vendored
|
|
@ -11,14 +11,34 @@ jobs:
|
|||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download Test Report
|
||||
# See https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
|
||||
# for a list of possible values
|
||||
- name: Download Windows Test Report
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
name: junit-test-results
|
||||
path: Windows
|
||||
name: junit-test-results-Windows
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: Download Linux Test Report
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
path: Linux
|
||||
name: junit-test-results-Linux
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: Download Mac Test Report
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
path: macOS
|
||||
name: junit-test-results-macOS
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: Publish Test Report
|
||||
uses: mikepenz/action-junit-report@v3
|
||||
with:
|
||||
commit: ${{github.event.workflow_run.head_sha}}
|
||||
report_paths: '${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml'
|
||||
report_paths: '**/My Projects/Torque3D/game/test_detail.xml'
|
||||
|
|
|
|||
Loading…
Reference in a new issue