From 4e0fad15a2e9a6364c7e79654519ea84ea29f798 Mon Sep 17 00:00:00 2001 From: Gerd Aschemann Date: Sat, 27 Jan 2024 10:13:09 +0100 Subject: [PATCH] WIP Ensure integration test runs after "check" --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index 40656c30..72f15980 100644 --- a/build.gradle +++ b/build.gradle @@ -115,6 +115,9 @@ integrationTestGradlePlugin.dependsOn( ':htmlSanityCheck-core:publishAllPublicationsToMyLocalRepositoryForFullIntegrationTestsRepository', ':htmlSanityCheck-gradle-plugin:publishAllPublicationsToMyLocalRepositoryForFullIntegrationTestsRepository' ) +integrationTestGradlePlugin.configure { + shouldRunAfter(':htmlSanityCheck-gradle-plugin:check') +} tasks.register("cleanIntegrationTestGradlePlugin", Delete) { group("Build") description("Deletes the result directory from gradle-plugin integration tests") @@ -145,6 +148,9 @@ tasks.register("integrationTestCli") { integrationTestCli.dependsOn( ':htmlSanityCheck-cli:installDist' ) +integrationTestCli.configure { + shouldRunAfter (':htmlSanityCheck-cli:check') +} tasks.register("cleanIntegrationTestCli", Delete) { group("Build") description("Deletes the result directory from CLI integration tests")