From e2e1d1039ff7056ce05bc561e291eb506b256577 Mon Sep 17 00:00:00 2001 From: Pawel Gudel Date: Wed, 5 Jul 2023 12:15:44 +0200 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 1 - build.gradle | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a6cd5b141..67889924b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,6 @@ jobs: with: arguments: | ${{ matrix.gradle_task }} -Dbuild.snapshot=false - -x test - name: Coverage uses: codecov/codecov-action@v1 diff --git a/build.gradle b/build.gradle index 9233b01815..84499dc9bb 100644 --- a/build.gradle +++ b/build.gradle @@ -390,8 +390,6 @@ tasks.withType(JavaCompile) { } tasks.test.finalizedBy(jacocoTestReport) // report is always generated after tests run -tasks.jacocoTestReport.dependsOn(test) // tests are required to run before generating the report - allprojects { tasks.withType(Javadoc).all { enabled = false }