[Build] Disable ScriptingIT on Windows CI using @OsCondition
`@DisabledOnOs` doesn't propagate its effect to the inheritors
This commit is contained in:
committed by
Space Cloud
parent
3e2c662b6b
commit
c33f7a4161
+3
-4
@@ -11,13 +11,12 @@ import org.jetbrains.kotlin.gradle.scripting.internal.ScriptingGradleSubplugin
|
||||
import org.jetbrains.kotlin.gradle.testbase.*
|
||||
import org.junit.jupiter.api.Disabled
|
||||
import org.junit.jupiter.api.DisplayName
|
||||
import org.junit.jupiter.api.condition.DisabledOnOs
|
||||
import org.junit.jupiter.api.condition.OS
|
||||
import kotlin.io.path.relativeTo
|
||||
|
||||
@DisabledOnOs(
|
||||
OS.WINDOWS,
|
||||
disabledReason = "Compiler plugin is leaking file descriptor preventing cleaning the project"
|
||||
@OsCondition(
|
||||
supportedOn = [OS.LINUX, OS.MAC, OS.WINDOWS],
|
||||
enabledOnCI = [OS.LINUX], // Compiler plugin is leaking file descriptor preventing cleaning the project on Windows
|
||||
)
|
||||
@DisplayName("Scripting plugin")
|
||||
@OtherGradlePluginTests
|
||||
|
||||
Reference in New Issue
Block a user