Skip to content

Commit 68bc6ec

Browse files
Log test failures on GH Actions run
1 parent f3973ee commit 68bc6ec

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
distribution: 'temurin'
6060
java-version: ${{ matrix.java }}
6161
- name: Build with Maven
62-
run: mvn clean package -T 1C -V -B -Pintegration-tests
62+
run: mvn clean package -T 1C -V -B -Pintegration-tests -Dplugin.surefire.junit5-tree-reporter.enable-console=true
6363
# - name: Dependency scan
6464
# run: mvn org.sonatype.ossindex.maven:ossindex-maven-plugin:LATEST:audit
6565
# token required

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
<plugin.source.version>3.4.0</plugin.source.version>
111111
<plugin.surefire.version>3.5.6</plugin.surefire.version>
112112
<plugin.surefire.junit5-tree-reporter.version>1.5.1</plugin.surefire.junit5-tree-reporter.version>
113+
<plugin.surefire.junit5-tree-reporter.enable-console>false</plugin.surefire.junit5-tree-reporter.enable-console>
113114
<plugin.war.version>3.5.1</plugin.war.version>
114115
<plugin.inmemdb.version>1.4.3</plugin.inmemdb.version>
115116
<plugin.jspc.version>5.0.0</plugin.jspc.version>
@@ -702,7 +703,7 @@
702703
<configuration>
703704
<argLine>@{argLine}</argLine>
704705
<consoleOutputReporter>
705-
<disable>true</disable>
706+
<disable>${plugin.surefire.junit5-tree-reporter.enable-console}</disable>
706707
</consoleOutputReporter>
707708
<reportFormat>plain</reportFormat>
708709
<statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter">

0 commit comments

Comments
 (0)