Skip to content

Commit ffdc554

Browse files
authored
Enable macOS CI on pull requests (#66)
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 f384880 commit ffdc554

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
@@ -30,4 +30,5 @@ jobs:
3030
name: macOS tests
3131
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
3232
with:
33+
runner_pool: nightly
3334
build_scheme: swift-async-dns-resolver

.github/workflows/pull_request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ jobs:
3030
name: Static SDK
3131
# Workaround https://github.com/nektos/act/issues/1875
3232
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
33+
34+
macos-tests:
35+
name: macOS tests
36+
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
37+
with:
38+
runner_pool: general
39+
build_scheme: swift-async-dns-resolver

0 commit comments

Comments
 (0)