diff --git a/Tests/TartTests/LayerizerTests.swift b/Tests/TartTests/LayerizerTests.swift index 3e51131..ca22abd 100644 --- a/Tests/TartTests/LayerizerTests.swift +++ b/Tests/TartTests/LayerizerTests.swift @@ -14,7 +14,7 @@ final class LayerizerTests: XCTestCase { do { registryRunner = try await RegistryRunner() } catch { - try XCTSkipIf(ProcessInfo.processInfo.environment["CI"] == nil) + try XCTSkip("Registry is unavailable: \(error)") } } diff --git a/Tests/TartTests/RegistryTests.swift b/Tests/TartTests/RegistryTests.swift index dad02ed..b66bb6b 100644 --- a/Tests/TartTests/RegistryTests.swift +++ b/Tests/TartTests/RegistryTests.swift @@ -10,7 +10,7 @@ final class RegistryTests: XCTestCase { do { registryRunner = try await RegistryRunner() } catch { - try XCTSkipIf(ProcessInfo.processInfo.environment["CI"] == nil) + try XCTSkip("Registry is unavailable: \(error)") } }