From f2949bb9ef45f4dbfa8a8a38c924ce2edc685a99 Mon Sep 17 00:00:00 2001 From: Kamil Strzelecki Date: Mon, 28 Apr 2025 17:12:43 +0200 Subject: [PATCH 1/3] - --- .../TaskTimeLimitTests.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tests/PrincipleConcurrencyTests/TaskTimeLimitTests.swift b/Tests/PrincipleConcurrencyTests/TaskTimeLimitTests.swift index f57511f..9f151b2 100644 --- a/Tests/PrincipleConcurrencyTests/TaskTimeLimitTests.swift +++ b/Tests/PrincipleConcurrencyTests/TaskTimeLimitTests.swift @@ -112,12 +112,12 @@ internal struct TaskTimeLimitTests { @Test func testIsolation() async throws { - let task = Task { @CustomActor in - try await withTimeout(.seconds(1)) { - CustomActor.shared.assertIsolated() - } - } - try await task.value +// let task = Task { @CustomActor in +// try await withTimeout(.seconds(1)) { +// CustomActor.shared.assertIsolated() +// } +// } +// try await task.value } } } From bbd6df333e76ca2dab124e186d844417b7e69d55 Mon Sep 17 00:00:00 2001 From: Kamil Strzelecki Date: Mon, 28 Apr 2025 17:20:44 +0200 Subject: [PATCH 2/3] - --- .github/workflows/pull-request.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 94ae9e5..7593f01 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -3,6 +3,9 @@ name: Pull request on: pull_request: types: [opened, reopened, synchronize, ready_for_review] + push: + branches: + - main concurrency: group: ${{ github.workflow }}-${{ github.ref }} From f0cbb066636195c40442201d680522a0a5b72acf Mon Sep 17 00:00:00 2001 From: Kamil Strzelecki Date: Mon, 28 Apr 2025 17:21:39 +0200 Subject: [PATCH 3/3] - --- .../TaskTimeLimitTests.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tests/PrincipleConcurrencyTests/TaskTimeLimitTests.swift b/Tests/PrincipleConcurrencyTests/TaskTimeLimitTests.swift index 9f151b2..f57511f 100644 --- a/Tests/PrincipleConcurrencyTests/TaskTimeLimitTests.swift +++ b/Tests/PrincipleConcurrencyTests/TaskTimeLimitTests.swift @@ -112,12 +112,12 @@ internal struct TaskTimeLimitTests { @Test func testIsolation() async throws { -// let task = Task { @CustomActor in -// try await withTimeout(.seconds(1)) { -// CustomActor.shared.assertIsolated() -// } -// } -// try await task.value + let task = Task { @CustomActor in + try await withTimeout(.seconds(1)) { + CustomActor.shared.assertIsolated() + } + } + try await task.value } } }