From 6b94315fb7898aa412259e515631563bfafdae7e Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 1 Apr 2025 09:58:31 +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 041e3af6..4b302e75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,4 +56,5 @@ jobs: name: macOS tests uses: apple/swift-nio/.github/workflows/macos_tests.yml@main with: + runner_pool: nightly build_scheme: swift-nio-http2-Package diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b30f0419..4cf93348 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -55,3 +55,10 @@ jobs: with: name: "Examples" matrix_string: '${{ needs.construct-integration-tests-matrix.outputs.integration-tests-matrix }}' + + macos-tests: + name: macOS tests + uses: apple/swift-nio/.github/workflows/macos_tests.yml@main + with: + runner_pool: general + build_scheme: swift-nio-http2-Package