Skip to content

Commit a590d08

Browse files
sebstoSebastien Stormacq
andauthored
Use Swiftlang's github action for unit tests (#614)
Remove a dependency on Swift NIO's GitHub workflows and use Swiftlang's github action for unit tests instead --------- Co-authored-by: Sebastien Stormacq <stormacq@amazon.lu>
1 parent 9f9434b commit a590d08

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/pull_request.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ jobs:
2222

2323
unit-tests:
2424
name: Unit tests
25-
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
25+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
2626
with:
27-
linux_5_9_enabled: false
28-
linux_5_10_enabled: false
29-
linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error"
30-
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
27+
enable_windows_checks: false
28+
linux_exclude_swift_versions: "[{\"swift_version\": \"5.9\"}, {\"swift_version\": \"5.10\"}]"
29+
swift_flags: "--explicit-target-dependency-import-check error"
30+
swift_nightly_flags: "--explicit-target-dependency-import-check error"
31+
enable_linux_static_sdk_build: true
3132

3233
integration-tests:
3334
name: Integration Tests
@@ -43,10 +44,6 @@ jobs:
4344
archive_plugin_examples: "[ 'HelloWorld', 'ResourcesPackaging' ]"
4445
archive_plugin_enabled: true
4546

46-
swift-6-language-mode:
47-
name: Swift 6 Language Mode
48-
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main
49-
5047
semver-label-check:
5148
name: Semantic Version label check
5249
runs-on: ubuntu-latest
@@ -58,11 +55,3 @@ jobs:
5855
persist-credentials: false
5956
- name: Check for Semantic Version label
6057
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main
61-
62-
musl:
63-
name: Linux Static SDK (musl) Test
64-
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
65-
with:
66-
enable_linux_checks: false
67-
enable_linux_static_sdk_build: true
68-
enable_windows_checks: false

0 commit comments

Comments
 (0)