@@ -3,14 +3,6 @@ name: Unit tests
33on :
44 workflow_call :
55 inputs :
6- linux_5_9_enabled :
7- type : boolean
8- description : " Boolean to enable the Linux 5.9 Swift version matrix job. Defaults to true."
9- default : true
10- linux_5_9_arguments_override :
11- type : string
12- description : " The arguments passed to swift test in the Linux 5.9 Swift version matrix job."
13- default : " "
146 linux_5_10_enabled :
157 type : boolean
168 description : " Boolean to enable the Linux 5.10 Swift version matrix job. Defaults to true."
2719 type : string
2820 description : " The arguments passed to swift test in the Linux 6.0 Swift version matrix job."
2921 default : " "
22+ linux_6_1_enabled :
23+ type : boolean
24+ description : " Boolean to enable the Linux 6.1 Swift version matrix job. Defaults to true."
25+ default : true
26+ linux_6_1_arguments_override :
27+ type : string
28+ description : " The arguments passed to swift test in the Linux 6.1 Swift version matrix job."
29+ default : " "
3030 linux_nightly_next_enabled :
3131 type : boolean
32- description : " Boolean to enable the Linux nightly 6.1 Swift version matrix job. Defaults to true."
32+ description : " Boolean to enable the Linux nightly next Swift version matrix job. Defaults to true."
3333 default : true
3434 linux_nightly_next_arguments_override :
3535 type : string
36- description : " The arguments passed to swift test in the Linux nightly 6.1 Swift version matrix job."
36+ description : " The arguments passed to swift test in the Linux nightly next Swift version matrix job."
3737 default : " "
3838 linux_nightly_main_enabled :
3939 type : boolean
@@ -53,15 +53,15 @@ jobs:
5353 matrix :
5454 # We are specifying only the major and minor of the docker images to automatically pick up the latest patch release
5555 swift :
56- - image : " swift:5.9-jammy"
57- swift_version : " 5.9"
58- enabled : ${{ inputs.linux_5_9_enabled }}
5956 - image : " swift:5.10-jammy"
6057 swift_version : " 5.10"
6158 enabled : ${{ inputs.linux_5_10_enabled }}
6259 - image : " swift:6.0-jammy"
6360 swift_version : " 6.0"
6461 enabled : ${{ inputs.linux_6_0_enabled }}
62+ - image : " swift:6.1-jammy"
63+ swift_version : " 6.1"
64+ enabled : ${{ inputs.linux_6_1_enabled }}
6565 - image : " swiftlang/swift:nightly-6.1-jammy"
6666 swift_version : " nightly-6.1"
6767 enabled : ${{ inputs.linux_nightly_next_enabled }}
8484 env :
8585 SWIFT_VERSION : ${{ matrix.swift.swift_version }}
8686 COMMAND : " swift test"
87- COMMAND_OVERRIDE_5_9 : " swift test ${{ inputs.linux_5_9_arguments_override }} "
87+ COMMAND_OVERRIDE_5_9 : " "
8888 COMMAND_OVERRIDE_5_10 : " swift test ${{ inputs.linux_5_10_arguments_override }}"
8989 COMMAND_OVERRIDE_6_0 : " swift test ${{ inputs.linux_6_0_arguments_override }}"
90+ COMMAND_OVERRIDE_6_1 : " swift test ${{ inputs.linux_6_1_arguments_override }}"
9091 COMMAND_OVERRIDE_NIGHTLY_NEXT : " swift test ${{ inputs.linux_nightly_next_arguments_override }}"
9192 COMMAND_OVERRIDE_NIGHTLY_MAIN : " swift test ${{ inputs.linux_nightly_main_arguments_override }}"
9293 run : |
0 commit comments