Skip to content

Commit ec88d2b

Browse files
Removed dependency between "test" and "jacocoTestReport"
Closes issue #2913. This will allow us to not to exclude the "test" job from every other test. Unfortunately, this will break creating the coverage reports from only starting "jacocoTestReport" task in Gradle. Signed-off-by: Pawel Gudel <pawel.gudel@eliatra.com>
1 parent 4eef662 commit ec88d2b

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ jobs:
5151
with:
5252
arguments: |
5353
${{ matrix.gradle_task }} -Dbuild.snapshot=false
54-
-x test
5554
5655
- name: Coverage
5756
uses: codecov/codecov-action@v1

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,6 @@ tasks.withType(JavaCompile) {
390390
}
391391

392392
tasks.test.finalizedBy(jacocoTestReport) // report is always generated after tests run
393-
tasks.jacocoTestReport.dependsOn(test) // tests are required to run before generating the report
394-
395393

396394
allprojects {
397395
tasks.withType(Javadoc).all { enabled = false }

0 commit comments

Comments
 (0)