add test reporter

test macos build with gcc problem catcher, apparently it works with clang
This commit is contained in:
marauder2k7 2023-07-26 10:02:58 +01:00
parent 9eeb74c998
commit 04d29e04de
3 changed files with 29 additions and 2 deletions

View file

@ -84,4 +84,12 @@ jobs:
- name: Upload Artifact
uses: ./.github/actions/upload-artifact
with:
name: torque3dLinuxGCCUnitTest
name: torque3dLinuxGCCUnitTest
- name: Test Reporter
uses: dorny/test-reporter@v1.6.0
if: success() || failure() # run this step even if previous step failed
with:
name: JEST Tests
path: test_detail.xml
reporter: jest-junit

View file

@ -35,6 +35,9 @@ jobs:
run: |
echo github.event.action: ${{ github.event.action }}
echo github.event_name: ${{ github.event_name }}
- name: Setup GCC problem matcher
uses: ammaraskar/gcc-problem-matcher@master
- name: Install MacOSX Dependencies
run: |
@ -62,4 +65,12 @@ jobs:
- name: Upload Artifact
uses: ./.github/actions/upload-artifact
with:
name: torque3dMacOSXCLANGUnitTest
name: torque3dMacOSXCLANGUnitTest
- name: Test Reporter
uses: dorny/test-reporter@v1.6.0
if: success() || failure() # run this step even if previous step failed
with:
name: JEST Tests
path: test_detail.xml
reporter: jest-junit

View file

@ -62,3 +62,11 @@ jobs:
uses: ./.github/actions/upload-artifact
with:
name: torque3dWindowsMSVCUnitTest
- name: Test Reporter
uses: dorny/test-reporter@v1.6.0
if: success() || failure() # run this step even if previous step failed
with:
name: JEST Tests
path: test_detail.xml
reporter: jest-junit