Skip to content

Commit a6027e2

Browse files
authored
Enable macOS CI on pull requests (#149)
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 e8bc5ed commit a6027e2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/main.yml

+1
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-openapi-runtime

.github/workflows/pull_request.yml

+7
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ jobs:
3333
name: Static SDK
3434
# Workaround https://github.com/nektos/act/issues/1875
3535
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
36+
37+
macos-tests:
38+
name: macOS tests
39+
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
40+
with:
41+
runner_pool: general
42+
build_scheme: swift-openapi-runtime

0 commit comments

Comments
 (0)