From 5b7531941cca59673aa3e809b0afe3c20dae86d9 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura <35282393+DarshitChanpura@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:14:18 -0500 Subject: [PATCH] Ensures that jacoco test report is produced after integration test task completes (#3662) Signed-off-by: Darshit Chanpura --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index dcc8171263..7717034434 100644 --- a/build.gradle +++ b/build.gradle @@ -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