From e60bcc611ec4b48ec33c08947aea14e3ba6fb1ff Mon Sep 17 00:00:00 2001 From: Naohide Sano Date: Sun, 18 Feb 2024 09:56:00 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rococoa-core/src/test/java/Test1.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rococoa-core/src/test/java/Test1.java b/rococoa-core/src/test/java/Test1.java index 9676449..bdac40d 100644 --- a/rococoa-core/src/test/java/Test1.java +++ b/rococoa-core/src/test/java/Test1.java @@ -20,6 +20,7 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable; import org.rococoa.cocoa.foundation.NSString; import vavi.util.Debug; @@ -51,7 +52,7 @@ void test1() throws Exception { } @Test -// @Disabled + @DisabledIfEnvironmentVariable(named = "GITHUB_WORKFLOW", matches = ".*") void test2() throws Exception { String jh = System.getProperty("java.home"); Debug.println("JAVA_HOME: " + jh);