@@ -23,6 +23,13 @@ import XCTest
2323final class WorkspaceTests : XCTestCase {
2424
2525 func testMultipleSwiftPMWorkspaces( ) async throws {
26+ #if os(Windows)
27+ // FIXME: Enable when https://github.com/swiftlang/swift-package-manager/issues/8038 is fixed
28+ try XCTSkipIf (
29+ true ,
30+ " SwiftPM tests fail nondeterministically due to https://github.com/swiftlang/swift-package-manager/issues/8038 "
31+ )
32+ #endif
2633 // The package manifest is the same for both packages we open.
2734 let packageManifest = """
2835 // swift-tools-version: 5.7
@@ -159,6 +166,13 @@ final class WorkspaceTests: XCTestCase {
159166 }
160167
161168 func testOpenPackageManifestInMultiSwiftPMWorkspaceSetup( ) async throws {
169+ #if os(Windows)
170+ // FIXME: Enable when https://github.com/swiftlang/swift-package-manager/issues/8038 is fixed
171+ try XCTSkipIf (
172+ true ,
173+ " SwiftPM tests fail nondeterministically due to https://github.com/swiftlang/swift-package-manager/issues/8038 "
174+ )
175+ #endif
162176 let project = try await MultiFileTestProject (
163177 files: [
164178 // PackageA
@@ -235,6 +249,13 @@ final class WorkspaceTests: XCTestCase {
235249 }
236250
237251 func testSwiftPMPackageInSubfolder( ) async throws {
252+ #if os(Windows)
253+ // FIXME: Enable when https://github.com/swiftlang/swift-package-manager/issues/8038 is fixed
254+ try XCTSkipIf (
255+ true ,
256+ " SwiftPM tests fail nondeterministically due to https://github.com/swiftlang/swift-package-manager/issues/8038 "
257+ )
258+ #endif
238259 let packageManifest = """
239260 // swift-tools-version: 5.7
240261
@@ -314,6 +335,13 @@ final class WorkspaceTests: XCTestCase {
314335 }
315336
316337 func testNestedSwiftPMWorkspacesWithoutDedicatedWorkspaceFolder( ) async throws {
338+ #if os(Windows)
339+ // FIXME: Enable when https://github.com/swiftlang/swift-package-manager/issues/8038 is fixed
340+ try XCTSkipIf (
341+ true ,
342+ " SwiftPM tests fail nondeterministically due to https://github.com/swiftlang/swift-package-manager/issues/8038 "
343+ )
344+ #endif
317345 // The package manifest is the same for both packages we open.
318346 let packageManifest = """
319347 // swift-tools-version: 5.7
@@ -496,6 +524,13 @@ final class WorkspaceTests: XCTestCase {
496524 }
497525
498526 func testRecomputeFileWorkspaceMembershipOnPackageSwiftChange( ) async throws {
527+ #if os(Windows)
528+ // FIXME: Enable when https://github.com/swiftlang/swift-package-manager/issues/8038 is fixed
529+ try XCTSkipIf (
530+ true ,
531+ " SwiftPM tests fail nondeterministically due to https://github.com/swiftlang/swift-package-manager/issues/8038 "
532+ )
533+ #endif
499534 let project = try await MultiFileTestProject (
500535 files: [
501536 " PackageA/Sources/MyLibrary/libA.swift " : " " ,
@@ -625,6 +660,13 @@ final class WorkspaceTests: XCTestCase {
625660 }
626661
627662 func testChangeWorkspaceFolders( ) async throws {
663+ #if os(Windows)
664+ // FIXME: Enable when https://github.com/swiftlang/swift-package-manager/issues/8038 is fixed
665+ try XCTSkipIf (
666+ true ,
667+ " SwiftPM tests fail nondeterministically due to https://github.com/swiftlang/swift-package-manager/issues/8038 "
668+ )
669+ #endif
628670 let project = try await MultiFileTestProject (
629671 files: [
630672 " subdir/Sources/otherPackage/otherPackage.swift " : """
0 commit comments