From a9dcd85fef5478b95e169b0a8e98b6ecf6c631f8 Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 1 Apr 2025 10:54:04 +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 1303911..7080707 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,4 +33,5 @@ jobs: name: macOS tests uses: apple/swift-nio/.github/workflows/macos_tests.yml@main with: + runner_pool: nightly build_scheme: swift-openapi-runtime diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d145602..8ba6aa2 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -33,3 +33,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-openapi-runtime