From 762e69f23fc9964fadcc4b4937041d25fa435d28 Mon Sep 17 00:00:00 2001 From: Aleksey Loginov <32845901+victimsnino@users.noreply.github.com> Date: Wed, 29 Dec 2021 18:03:42 +0300 Subject: [PATCH 1/5] Try to add reporter for results --- .github/workflows/Tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 59d726c5e..b30ee459f 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -61,4 +61,11 @@ jobs: # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest -C ${{env.BUILD_TYPE}} + - name: Test Report + uses: dorny/test-reporter@v1 + if: success() || failure() # run this step even if previous step failed + with: + name: JEST Tests # Name of the check run which will be created + path: ${{github.workspace}}/build/test_results/*.xml # Path to test results + reporter: jest-junit # Format of test results From 89e2866ec1e5ac3f781e5e7067b4ff0466ee6184 Mon Sep 17 00:00:00 2001 From: Aleksey Loginov <32845901+victimsnino@users.noreply.github.com> Date: Wed, 29 Dec 2021 18:06:36 +0300 Subject: [PATCH 2/5] Update Tests.yml --- .github/workflows/Tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index b30ee459f..7d362be5f 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -67,5 +67,5 @@ jobs: with: name: JEST Tests # Name of the check run which will be created path: ${{github.workspace}}/build/test_results/*.xml # Path to test results - reporter: jest-junit # Format of test results + reporter: java-junit # Format of test results From 9888d772b6eb7ac5de9a483a7644309c6c3d1a9e Mon Sep 17 00:00:00 2001 From: Aleksey Loginov <32845901+victimsnino@users.noreply.github.com> Date: Wed, 29 Dec 2021 18:13:48 +0300 Subject: [PATCH 3/5] Update Tests.yml --- .github/workflows/Tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 7d362be5f..f784d3353 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -61,11 +61,11 @@ jobs: # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest -C ${{env.BUILD_TYPE}} - - name: Test Report + - name: Test Report ${{ matrix.config.name }} uses: dorny/test-reporter@v1 if: success() || failure() # run this step even if previous step failed with: - name: JEST Tests # Name of the check run which will be created - path: ${{github.workspace}}/build/test_results/*.xml # Path to test results + name: Test report ${{ matrix.config.name }} # Name of the check run which will be created + path: '${{github.workspace}}/build/test_results/*.xml' # Path to test results reporter: java-junit # Format of test results From f5ff68b2693a65b92bde59dce713116f4b26899d Mon Sep 17 00:00:00 2001 From: Aleksey Loginov <32845901+victimsnino@users.noreply.github.com> Date: Wed, 29 Dec 2021 18:39:29 +0300 Subject: [PATCH 4/5] Update Tests.yml --- .github/workflows/Tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index f784d3353..3ef6b805e 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -61,11 +61,14 @@ jobs: # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest -C ${{env.BUILD_TYPE}} + - name: Set Path to variable as W/A + run: echo "workspace_path=" >> $GITHUB_ENV + - name: Test Report ${{ matrix.config.name }} uses: dorny/test-reporter@v1 if: success() || failure() # run this step even if previous step failed with: name: Test report ${{ matrix.config.name }} # Name of the check run which will be created - path: '${{github.workspace}}/build/test_results/*.xml' # Path to test results + path: ./build/test_results/*.xml # Path to test results reporter: java-junit # Format of test results From 9549ea33f17cf7fc4b2c18cce55d106788342cd6 Mon Sep 17 00:00:00 2001 From: Aleksey Loginov <32845901+victimsnino@users.noreply.github.com> Date: Wed, 29 Dec 2021 18:39:41 +0300 Subject: [PATCH 5/5] Update Tests.yml --- .github/workflows/Tests.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 3ef6b805e..e881bd8a0 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -61,8 +61,6 @@ jobs: # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest -C ${{env.BUILD_TYPE}} - - name: Set Path to variable as W/A - run: echo "workspace_path=" >> $GITHUB_ENV - name: Test Report ${{ matrix.config.name }} uses: dorny/test-reporter@v1