mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Prevent tests from never ending due to threading bug
This commit is contained in:
parent
9269a4e13b
commit
be4f3e7f1b
2 changed files with 72 additions and 2 deletions
33
.github/workflows/cmake.yml
vendored
33
.github/workflows/cmake.yml
vendored
|
|
@ -66,9 +66,42 @@ jobs:
|
|||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Upload Test Report
|
||||
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'
|
||||
retention-days: 1
|
||||
|
||||
- name: Publish Test Report
|
||||
uses: mikepenz/action-junit-report@v3
|
||||
if: success() || failure() # always run even if the previous step fails
|
||||
with:
|
||||
report_paths: '${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml'
|
||||
|
||||
---
|
||||
name: Report Test Results
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [CMake]
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download Test Report
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
name: junit-test-results
|
||||
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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue