From 04d29e04de0f68f26ccdbf63039156db1af2fbb4 Mon Sep 17 00:00:00 2001 From: marauder2k7 Date: Wed, 26 Jul 2023 10:02:58 +0100 Subject: [PATCH] add test reporter test macos build with gcc problem catcher, apparently it works with clang --- .github/workflows/build-linux-gcc.yml | 10 +++++++++- .github/workflows/build-macos-clang.yml | 13 ++++++++++++- .github/workflows/build-windows-msvc.yml | 8 ++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-linux-gcc.yml b/.github/workflows/build-linux-gcc.yml index 214d436c3..e3ccc3259 100644 --- a/.github/workflows/build-linux-gcc.yml +++ b/.github/workflows/build-linux-gcc.yml @@ -84,4 +84,12 @@ jobs: - name: Upload Artifact uses: ./.github/actions/upload-artifact with: - name: torque3dLinuxGCCUnitTest \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/build-macos-clang.yml b/.github/workflows/build-macos-clang.yml index c680fc665..50e0f0d92 100644 --- a/.github/workflows/build-macos-clang.yml +++ b/.github/workflows/build-macos-clang.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/build-windows-msvc.yml b/.github/workflows/build-windows-msvc.yml index 299f16500..7d7da1bae 100644 --- a/.github/workflows/build-windows-msvc.yml +++ b/.github/workflows/build-windows-msvc.yml @@ -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