diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 7aa79ea..954149d 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -11,6 +11,7 @@ jobs: test-macos: name: Test macOS runs-on: macos-latest + timeout-minutes: 15 steps: - name: Checkout uses: actions/checkout@v4 @@ -24,6 +25,7 @@ jobs: test-ios: name: Test iOS runs-on: macos-latest + timeout-minutes: 20 steps: - name: Checkout uses: actions/checkout@v4 @@ -50,6 +52,7 @@ jobs: name: Test Linux runs-on: ubuntu-latest container: swift:6.1 + timeout-minutes: 15 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/Tests/SwiftPathTests/ConcurrencyTests.swift b/Tests/SwiftPathTests/ConcurrencyTests.swift index 48207c4..b43d5df 100644 --- a/Tests/SwiftPathTests/ConcurrencyTests.swift +++ b/Tests/SwiftPathTests/ConcurrencyTests.swift @@ -12,6 +12,7 @@ import XCTest @testable import SwiftPath +#if !os(Linux) final class ConcurrencyTests: XCTestCase { private let booksJson = """ @@ -317,3 +318,4 @@ final class ConcurrencyTests: XCTestCase { } } } +#endif