Skip to content

Commit

Permalink
skipping linux tests that are failing due to Swift 6 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Oct 3, 2024
1 parent 95e06b6 commit bfb4ec8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Tests/OpenAPIKit30RealSpecSuite/GitHubAPITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ final class GitHubAPICampatibilityTests: XCTestCase {
}
}

func test_successfullyParsedDocument() {
func test_successfullyParsedDocument() throws {
#if os(Linux) && compiler(>=6.0)
throw XCTSkip("Swift bug causes CI failure currently (line 48): failed - The operation could not be completed. The file doesn’t exist.")
#endif
switch githubAPI {
case nil:
XCTFail("Did not attempt to pull GitHub API documentation like expected.")
Expand Down
5 changes: 4 additions & 1 deletion Tests/OpenAPIKit30RealSpecSuite/GoogleBooksAPITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ final class GoogleBooksAPICampatibilityTests: XCTestCase {
}
}

func test_successfullyParsedDocument() {
func test_successfullyParsedDocument() throws {
#if os(Linux) && swift(>=6.0)
throw XCTSkip("Swift bug causes CI failure currently (line 43): failed - The operation could not be completed. The file doesn’t exist.")
#endif
switch booksAPI {
case nil:
XCTFail("Did not attempt to pull Google Books API documentation like expected.")
Expand Down
5 changes: 4 additions & 1 deletion Tests/OpenAPIKit30RealSpecSuite/PetStoreAPITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ final class PetStoreAPICampatibilityTests: XCTestCase {
}
}

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

0 comments on commit bfb4ec8

Please sign in to comment.