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 (opensearch-project#3662)

Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura authored Nov 14, 2023
1 parent ee66199 commit 5b75319
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 @@ -557,6 +557,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 5b75319

Please sign in to comment.