Skip to content

Commit 927b63a

Browse files
committed
skipping linux tests that are failing due to Swift 6 bug
1 parent 95e06b6 commit 927b63a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Tests/OpenAPIKit30RealSpecSuite/GitHubAPITests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ final class GitHubAPICampatibilityTests: XCTestCase {
3737
}
3838

3939
func test_successfullyParsedDocument() {
40+
#if os(Linux) && swift(>=6.0)
41+
XCTSkip("Swift bug causes CI failure currently (line 48): failed - The operation could not be completed. The file doesn’t exist.")
42+
#endif
4043
switch githubAPI {
4144
case nil:
4245
XCTFail("Did not attempt to pull GitHub API documentation like expected.")

Tests/OpenAPIKit30RealSpecSuite/GoogleBooksAPITests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ final class GoogleBooksAPICampatibilityTests: XCTestCase {
3232
}
3333

3434
func test_successfullyParsedDocument() {
35+
#if os(Linux) && swift(>=6.0)
36+
XCTSkip("Swift bug causes CI failure currently (line 43): failed - The operation could not be completed. The file doesn’t exist.")
37+
#endif
3538
switch booksAPI {
3639
case nil:
3740
XCTFail("Did not attempt to pull Google Books API documentation like expected.")

Tests/OpenAPIKit30RealSpecSuite/PetStoreAPITests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ final class PetStoreAPICampatibilityTests: XCTestCase {
3232
}
3333

3434
func test_successfullyParsedDocument() {
35+
#if os(Linux) && swift(>=6.0)
36+
XCTSkip("Swift bug causes CI failure currently (line 43): failed - The operation could not be completed. The file doesn’t exist.")
37+
#endif
3538
switch petStoreAPI {
3639
case nil:
3740
XCTFail("Did not attempt to pull Pet Store API documentation like expected.")

0 commit comments

Comments
 (0)