Skip to content

Commit 781c86e

Browse files
andiclaude
authored andcommitted
Keep -x test -x testng on check entries to avoid JaCoCo failure
The check matrix entry runs static checks only (errorprone, etc.). Tests run in separate parallel matrix jobs. The Gradle check lifecycle depends on test, so we still need to exclude test/testng here. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5e2f2da commit 781c86e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15-
- gradle-argument: 'assemble && ./gradlew check'
15+
- gradle-argument: 'assemble && ./gradlew check -x test -x testng'
1616
label: 'check'
1717
- gradle-argument: 'testWithJava11 testngWithJava11'
1818
label: 'java11'
@@ -220,4 +220,4 @@ jobs:
220220
java-version: '25'
221221
distribution: 'corretto'
222222
- name: publishToMavenCentral
223-
run: ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
223+
run: ./gradlew assemble && ./gradlew check -x test -x testng --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
include:
23-
- gradle-argument: 'assemble && ./gradlew check'
23+
- gradle-argument: 'assemble && ./gradlew check -x test -x testng'
2424
label: 'check'
2525
- gradle-argument: 'testWithJava11 testngWithJava11'
2626
label: 'java11'

0 commit comments

Comments
 (0)