From 059aa218b9d31d44e446dc5ce398d39556c287da Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 1 Apr 2025 10:52:54 +0100 Subject: [PATCH] Enable macOS CI on pull requests Motivation: * Improve test coverage Modifications: Enable macOS CI to be run on pull request commits and make the use of the nightly runner pool for main.yml jobs explicit. Result: Improved test coverage. --- .github/workflows/main.yml | 1 + .github/workflows/pull_request.yml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f8b40f..5b0c462 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,4 +21,5 @@ jobs: name: macOS tests uses: apple/swift-nio/.github/workflows/macos_tests.yml@main with: + runner_pool: nightly build_scheme: swift-http-structured-headers-Package diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4f083f0..7804283 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -23,3 +23,10 @@ jobs: cxx-interop: name: Cxx interop uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main + + macos-tests: + name: macOS tests + uses: apple/swift-nio/.github/workflows/macos_tests.yml@main + with: + runner_pool: general + build_scheme: swift-http-structured-headers-Package