diff --git a/Tools/Sources/Commands/CI/UnitTests.swift b/Tools/Sources/Commands/CI/UnitTests.swift index 9a9e15464..ef83ec783 100644 --- a/Tools/Sources/Commands/CI/UnitTests.swift +++ b/Tools/Sources/Commands/CI/UnitTests.swift @@ -35,7 +35,7 @@ struct UnitTests: AsyncParsableCommand { if !skipPreviews { do { - try await PreviewTests.parse(["--os-version", osVersion]).run() + try await PreviewTests.parse([]).run() } catch { failures.append("Preview tests failed: \(error)") }