Skip to content

Commit 2d603e7

Browse files
committed
Added different approach to cancel ios tests
1 parent 3a17171 commit 2d603e7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

firebase-auth/build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ kotlin {
111111
projectDir.resolve("src/nativeInterop/cinterop/Carthage/Build/$it.xcframework/${konanTarget.archVariant}")
112112
}
113113
)
114-
115114
binaries {
116115
getTest("DEBUG").apply {
117116
linkerOpts(nativeFrameworkPaths.map { "-F$it" })
@@ -186,6 +185,14 @@ kotlin {
186185

187186
val jsMain by getting
188187
}
188+
189+
if (!runIosTests) {
190+
tasks.forEach {
191+
if (it.name.contains("ios") && it.name.contains("test")) {
192+
it.onlyIf { false }
193+
}
194+
}
195+
}
189196
}
190197

191198
signing {

0 commit comments

Comments
 (0)