Skip to content

Commit 83f6f9b

Browse files
committed
Enable JaCoCo by default
1 parent a4f4f1e commit 83f6f9b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/cross-version.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
uses: ./.github/actions/run-gradle
6060
with:
6161
arguments: |
62+
-Ptesting.enableJaCoCo=false \
6263
-PjavaToolchain.version=${{ matrix.jdk.version }} \
6364
-Dscan.tag.JDK_${{ matrix.jdk.version }} \
6465
build \
@@ -92,6 +93,7 @@ jobs:
9293
uses: ./.github/actions/run-gradle
9394
with:
9495
arguments: |
96+
-Ptesting.enableJaCoCo=false \
9597
-PjavaToolchain.version=${{ matrix.jdk }} \
9698
-PjavaToolchain.implementation=j9 \
9799
-Dscan.tag.JDK_${{ matrix.jdk }} \

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
uses: ./.github/actions/main-build
3232
with:
3333
arguments: |
34-
-Ptesting.enableJaCoCo \
3534
:platform-tooling-support-tests:test \
3635
build \
3736
jacocoRootReport \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ builds of the next OpenJDK.
4949
Code coverage using [JaCoCo] for the latest build is available on [Codecov].
5050

5151
A code coverage report can also be generated locally via the [Gradle Wrapper] by
52-
executing `./gradlew -Ptesting.enableJaCoCo clean jacocoRootReport`. The results will be available
52+
executing `./gradlew clean jacocoRootReport`. The results will be available
5353
in `build/reports/jacoco/jacocoRootReport/html/index.html`.
5454

5555
## Develocity

gradle/plugins/build-parameters/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ buildParameters {
6767
description = "Testing related parameters"
6868
bool("enableJaCoCo") {
6969
description = "Enables JaCoCo test coverage reporting"
70-
defaultValue = false
70+
defaultValue = true
7171
}
7272
bool("enableJFR") {
7373
description = "Enables Java Flight Recorder functionality"

0 commit comments

Comments
 (0)