From a0a57e949a8903563aba4615869310c0ebf14c03 Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 1 Apr 2025 15:23:38 +0100 Subject: [PATCH] Enable macOS CI on pull requests (#97) 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 7740360..127b93f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,4 +42,5 @@ jobs: name: macOS tests uses: apple/swift-nio/.github/workflows/macos_tests.yml@main with: + runner_pool: nightly build_scheme: swift-http-types-Package diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a27d1eb..2c2c9f5 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -41,3 +41,10 @@ jobs: name: Static SDK # Workaround https://github.com/nektos/act/issues/1875 uses: apple/swift-nio/.github/workflows/static_sdk.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-types-Package