From b1d129fcec7214d34847dc7a691f82edf7a9d255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 11 Aug 2026 14:35:06 +0200 Subject: [PATCH] build(gradle): Fix the JS and Wasm tests running for the templates in non-playground projects --- gradle/templates/template-lib/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/templates/template-lib/build.gradle.kts b/gradle/templates/template-lib/build.gradle.kts index e129127..5dd56e1 100644 --- a/gradle/templates/template-lib/build.gradle.kts +++ b/gradle/templates/template-lib/build.gradle.kts @@ -66,7 +66,7 @@ if (appGroup != "dev.opensavvy.playground") { onlyIf("Publishing is only enabled when built as part of the Playground") { false } } - if (this is Test) { + if (this is AbstractTestTask) { onlyIf("The template tests do not need to run when not building as part of the Playground") { System.getenv("CI") != null } } } -- 2.51.2