Skip to content

Commit a0a57e9

Browse files
authored
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.
1 parent 493e43a commit a0a57e9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ jobs:
4242
name: macOS tests
4343
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
4444
with:
45+
runner_pool: nightly
4546
build_scheme: swift-http-types-Package

.github/workflows/pull_request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,10 @@ jobs:
4141
name: Static SDK
4242
# Workaround https://github.com/nektos/act/issues/1875
4343
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
44+
45+
macos-tests:
46+
name: macOS tests
47+
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
48+
with:
49+
runner_pool: general
50+
build_scheme: swift-http-types-Package

0 commit comments

Comments
 (0)