Skip to content

Commit d1b6295

Browse files
authored
Enable macOS CI on pull requests (#98)
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 945d24b commit d1b6295

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-asn1

.github/workflows/pull_request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,10 @@ jobs:
5252
{ "name": "SwiftASN1", "type": "source", "exceptions": [] }
5353
]
5454
}
55+
56+
macos-tests:
57+
name: macOS tests
58+
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
59+
with:
60+
runner_pool: general
61+
build_scheme: swift-asn1

0 commit comments

Comments
 (0)