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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git


The following commit(s) were added to refs/heads/master by this push:
     new 1cd0af3a Check tests can be re-run
1cd0af3a is described below

commit 1cd0af3a48cafeb510404ce24ad560d73475923b
Author: Sebb <s...@apache.org>
AuthorDate: Fri Apr 12 23:12:42 2024 +0100

    Check tests can be re-run
---
 .github/workflows/maven.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index e1d1263b..183623ee 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -56,3 +56,7 @@ jobs:
         java-version: ${{ matrix.java }}
     - name: Build with Maven
       run: mvn --show-version --batch-mode --no-transfer-progress 
-DtrimStackTrace=false
+    - name: Check tests can be re-run
+      # No need to test on all OS/Java combinations
+      if: ${{ matrix.java == '17' && runner.os == 'Ubuntu' }}
+      run: mvn test

Reply via email to