Skip to content

Commit

Permalink
Ensures that jacoco test report is produced after integration test ta…
Browse files Browse the repository at this point in the history
…sk completes

Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Nov 6, 2023
1 parent f6f561e commit 6cb2172
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,8 @@ task integrationTest(type: Test) {
}
}

tasks.integrationTest.finalizedBy(jacocoTestReport) // report is always generated after integration tests run

//run the integrationTest task before the check task
check.dependsOn integrationTest

Expand Down

0 comments on commit 6cb2172

Please sign in to comment.