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

@ -85,3 +85,11 @@ jobs:
uses: ./.github/actions/upload-artifact uses: ./.github/actions/upload-artifact
with: 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

@ -36,6 +36,9 @@ jobs:
echo github.event.action: ${{ github.event.action }} echo github.event.action: ${{ github.event.action }}
echo github.event_name: ${{ github.event_name }} echo github.event_name: ${{ github.event_name }}
- name: Setup GCC problem matcher
uses: ammaraskar/gcc-problem-matcher@master
- name: Install MacOSX Dependencies - name: Install MacOSX Dependencies
run: | run: |
brew install ninja brew install ninja
@ -63,3 +66,11 @@ jobs:
uses: ./.github/actions/upload-artifact uses: ./.github/actions/upload-artifact
with: 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 uses: ./.github/actions/upload-artifact
with: with:
name: torque3dWindowsMSVCUnitTest 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