Skip to content

Commit 8939095

Browse files
sebstofabianfett
andauthored
[ci] : Remove deprecated options on unit-test action (#510)
~~Attempt to fix CI~~ Remove usage of deprecated parameters on unit-test. - explicitly enable tests on nightly 6.0 - explicitly enable tests on nightly next - explicitly enable tests on nightly main At the time of this writing, this resolves to ``` linux_6_0_container_image="swift:6.0-jammy" linux_nightly_next_container_image="swiftlang/swift:nightly-6.1-jammy" linux_nightly_main_container_image="swiftlang/swift:nightly-main-jammy" ``` --------- Co-authored-by: Fabian Fett <[email protected]>
1 parent 7322a36 commit 8939095

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/pull_request.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,21 @@ jobs:
1717
format_check_container_image: "swiftlang/swift:nightly-6.1-jammy"
1818
yamllint_check_enabled: true
1919

20+
# https://github.com/apple/swift-nio/blob/main/.github/workflows/unit_tests.yml
2021
unit-tests:
2122
name: Unit tests
2223
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
2324
with:
2425
linux_5_9_enabled: false
2526
linux_5_10_enabled: false
26-
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
27+
linux_6_0_enabled: true
28+
# this currently resolves to 6.1 nightly
29+
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
30+
linux_nightly_next_enabled: true
31+
linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error"
32+
# this currently resolves to 6.2.dev
33+
# It crashes some of our tests https://github.com/swift-server/swift-aws-lambda-runtime/issues/509
34+
linux_nightly_main_enabled: true
2735
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
2836

2937
integration-tests:

0 commit comments

Comments
 (0)