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 10:55:42 UTC

[plc4x] branch develop updated: chore(build): java tests can only be reported on windows

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 42d750e2c4 chore(build): java tests can only be reported on windows
42d750e2c4 is described below

commit 42d750e2c4ed7cf8f9f3c26ef7e1b5d6d0ab8fe7
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Jun 2 12:55:33 2023 +0200

    chore(build): java tests can only be reported on windows
---
 .github/workflows/java-platform.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/java-platform.yml b/.github/workflows/java-platform.yml
index b6659d233d..05574fc159 100644
--- a/.github/workflows/java-platform.yml
+++ b/.github/workflows/java-platform.yml
@@ -136,7 +136,8 @@ jobs:
 
       - name: Test Report
         uses: dorny/test-reporter@v1
-        if: success() || failure()
+        # TODO: apparently the reporter only works on windows
+        if: (success() || failure()) && matrix.os == 'windows-latest'
         with:
           name: "Java Tests (OS: ${{ matrix.os }}, Java: ${{ matrix.java }})"
           path: '**/(surefire|failsafe)-reports/TEST-*.xml'