Skip to content

Commit a498695

Browse files
committed
MainAssembly // Tests: Skip server creation on GitHub CI.
1 parent bb7aa7e commit a498695

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Packages/vChewing_MainAssembly4Darwin/Tests/MainAssembly4DarwinTests/MainAssemblyTests_Core.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ final class MainAssemblyTests {
307307

308308
static func ensureServerInitialized() {
309309
guard testServer == nil else { return }
310+
// Skip IMKServer initialization on CI: headless runners lack a full
311+
// IMK daemon session, and IMKServer() will hang indefinitely waiting
312+
// for an XPC connection that never completes.
313+
guard ProcessInfo.processInfo.environment["CI"] != "true" else { return }
310314
testServer = IMKServer(
311315
name: "org.atelierInmu.vChewing.MainAssembly.UnitTests_Connection",
312316
bundleIdentifier: "org.atelierInmu.vChewing.MainAssembly.UnitTests"

0 commit comments

Comments
 (0)