Skip to content

Commit c8edb81

Browse files
authored
Enable macOS CI on pull requests (#59)
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 15c2fd1 commit c8edb81

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
@@ -33,4 +33,5 @@ jobs:
3333
name: macOS tests
3434
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
3535
with:
36+
runner_pool: nightly
3637
build_scheme: swift-service-context-Package

.github/workflows/pull_request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@ jobs:
3535
name: Static SDK
3636
# Workaround https://github.com/nektos/act/issues/1875
3737
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
38+
39+
macos-tests:
40+
name: macOS tests
41+
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
42+
with:
43+
runner_pool: general
44+
build_scheme: swift-service-context-Package

0 commit comments

Comments
 (0)