From 2d7e14f1cca68bc00393ab52db8e0abc3984c9f6 Mon Sep 17 00:00:00 2001 From: Steven Grosmark Date: Tue, 28 Apr 2026 19:49:02 -0400 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20test=20concurrency=20on=20Linux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-test.yml | 3 +++ Tests/SwiftPathTests/ConcurrencyTests.swift | 2 ++ 2 files changed, 5 insertions(+) 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