You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/06/02 09:51:29 UTC

[plc4x] branch develop updated: chore(build): add surefire/failsafe reports to actions

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 973bd8affb chore(build): add surefire/failsafe reports to actions
973bd8affb is described below

commit 973bd8affb1e5f7ce28055c471137efbdae43ec0
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Jun 2 11:51:21 2023 +0200

    chore(build): add surefire/failsafe reports to actions
---
 .github/workflows/java-platform.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.github/workflows/java-platform.yml b/.github/workflows/java-platform.yml
index 172cfb526a..017a31ca77 100644
--- a/.github/workflows/java-platform.yml
+++ b/.github/workflows/java-platform.yml
@@ -134,5 +134,21 @@ jobs:
         if: ${{ failure() }}
         run: ./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} ${{ steps.extra_options.outputs.extra_options }} -B -P'skip-bacnet-regression-test' ${{ steps.platform_opts.outputs.platform_opts }} install
 
+      - name: Surefire Test Report
+        uses: dorny/test-reporter@v1
+        if: success() || failure()
+        with:
+          name: Surefire Java Tests
+          path: '**/surefire-reports/*.xml'
+          reporter: java-junit
+
+      - name: Failsafe Test Report
+        uses: dorny/test-reporter@v1
+        if: success() || failure()
+        with:
+          name: Failsafe Java Tests
+          path: '**/failsafe-reports/*.xml'
+          reporter: java-junit
+
       - name: Perform CodeQL Analysis
         uses: github/codeql-action/analyze@v2