@@ -2,9 +2,54 @@ name: Smoke Tests 2.0.0 [github-hosted]
22
33# Do not edit - generated by `generateCIActions` Gradle task.
44
5- on :
5+ on :
66 workflow_dispatch :
77 inputs :
8+ invert_selection :
9+ type : boolean
10+ required : false
11+ default : false
12+ description : ' 🔄 INVERT SELECTION: When enabled, UNCHECKED boxes will run and CHECKED boxes will be skipped'
13+ run_acceptance_tests :
14+ type : boolean
15+ required : false
16+ default : true
17+ description : ' Run Acceptance Tests'
18+ run_type_mapping_tests :
19+ type : boolean
20+ required : false
21+ default : true
22+ description : ' Run Type Mapping Tests'
23+ run_gradle_tests :
24+ type : boolean
25+ required : false
26+ default : true
27+ description : ' Run Gradle Tests'
28+ run_external_libraries_tests_0_499 :
29+ type : boolean
30+ required : false
31+ default : true
32+ description : ' Run External Libraries Tests 0-499'
33+ run_external_libraries_tests_500_999 :
34+ type : boolean
35+ required : false
36+ default : true
37+ description : ' Run External Libraries Tests 500-999'
38+ run_external_libraries_tests_1000_1499 :
39+ type : boolean
40+ required : false
41+ default : true
42+ description : ' Run External Libraries Tests 1000-1499'
43+ run_external_libraries_tests_1500_1999 :
44+ type : boolean
45+ required : false
46+ default : true
47+ description : ' Run External Libraries Tests 1500-1999'
48+ run_external_libraries_tests_2000_2420 :
49+ type : boolean
50+ required : false
51+ default : true
52+ description : ' Run External Libraries Tests 2000-2420'
853 compiler_version :
954 type : string
1055 required : true
@@ -49,6 +94,8 @@ permissions:
4994jobs :
5095 acceptance-tests :
5196 name : Acceptance Tests 2.0.0[${{ inputs.compiler_version || '2.0.0' }}]
97+ if : |-
98+ ((inputs.invert_selection || false) != (inputs.run_acceptance_tests || true))
5299 runs-on : macos-14
53100 steps :
54101 - name : Checkout Repo
@@ -67,30 +114,10 @@ jobs:
67114 KOTLIN_LINK_MODE : ${{ inputs.linkage }}
68115 KOTLIN_BUILD_CONFIGURATION : ${{ inputs.configuration }}
69116
70- type-mapping-tests :
71- name : Type Mapping Tests 2.0.0[${{ inputs.compiler_version || '2.0.0' }}]
72- runs-on : macos-14
73- steps :
74- - name : Checkout Repo
75- uses : actions/checkout@v3
76- with :
77- submodules : true
78- token : ${{ secrets.ACCEPTANCE_TESTS_TOKEN }}
79- - name : Prepare Worker
80- uses : ./.github/actions/prepare-worker
81- - name : Run Type Mapping Tests
82- 83- id : run-tests
84- with :
85- arguments : ' :acceptance-tests:type-mapping:test -PversionSupport.kotlin.enabledVersions=2.0.0[${{ inputs.compiler_version || ' 2.0.0' }}]'
86- build-root-directory : SKIE
87- env :
88- KOTLIN_LINK_MODE : ${{ inputs.linkage }}
89- KOTLIN_TARGET : ${{ inputs.target }}
90- KOTLIN_BUILD_CONFIGURATION : ${{ inputs.configuration }}
91-
92117 gradle-tests :
93118 name : Gradle Tests 2.0.0[${{ inputs.compiler_version || '2.0.0' }}]
119+ if : |
120+ ((inputs.invert_selection || false) != (inputs.run_gradle_tests || true))
94121 runs-on : macos-14
95122 steps :
96123 - name : Checkout Repo
@@ -122,9 +149,35 @@ jobs:
122149 check_name : " Smoke Test Reports - Gradle Tests"
123150 report_paths : ' test-runner/build/test-results/test/TEST-*.xml'
124151 require_tests : true
152+
153+ type-mapping-tests :
154+ name : Type Mapping Tests 2.0.0[${{ inputs.compiler_version || '2.0.0' }}]
155+ if : |
156+ ((inputs.invert_selection || false) != (inputs.run_type_mapping_tests || true))
157+ runs-on : macos-14
158+ steps :
159+ - name : Checkout Repo
160+ uses : actions/checkout@v3
161+ with :
162+ submodules : true
163+ token : ${{ secrets.ACCEPTANCE_TESTS_TOKEN }}
164+ - name : Prepare Worker
165+ uses : ./.github/actions/prepare-worker
166+ - name : Run Type Mapping Tests
167+ 168+ id : run-tests
169+ with :
170+ arguments : ' :acceptance-tests:type-mapping:test -PversionSupport.kotlin.enabledVersions=2.0.0[${{ inputs.compiler_version || ' 2.0.0' }}]'
171+ build-root-directory : SKIE
172+ env :
173+ KOTLIN_LINK_MODE : ${{ inputs.linkage }}
174+ KOTLIN_TARGET : ${{ inputs.target }}
175+ KOTLIN_BUILD_CONFIGURATION : ${{ inputs.configuration }}
125176
126177 external-libraries-tests-0-499 :
127178 name : External Libraries Tests (2.0.0[${{ inputs.compiler_version || '2.0.0' }}]) 0-499
179+ if : |
180+ ((inputs.invert_selection || false) != (inputs.run_external_libraries_tests_0_499 || true))
128181 runs-on : macos-14
129182 steps :
130183 - name : Checkout Repo
@@ -146,6 +199,8 @@ jobs:
146199
147200 external-libraries-tests-500-999 :
148201 name : External Libraries Tests (2.0.0[${{ inputs.compiler_version || '2.0.0' }}]) 500-999
202+ if : |
203+ ((inputs.invert_selection || false) != (inputs.run_external_libraries_tests_500_999 || true))
149204 runs-on : macos-14
150205 steps :
151206 - name : Checkout Repo
@@ -167,6 +222,8 @@ jobs:
167222
168223 external-libraries-tests-1000-1499 :
169224 name : External Libraries Tests (2.0.0[${{ inputs.compiler_version || '2.0.0' }}]) 1000-1499
225+ if : |
226+ ((inputs.invert_selection || false) != (inputs.run_external_libraries_tests_1000_1499 || true))
170227 runs-on : macos-14
171228 steps :
172229 - name : Checkout Repo
@@ -188,6 +245,8 @@ jobs:
188245
189246 external-libraries-tests-1500-1999 :
190247 name : External Libraries Tests (2.0.0[${{ inputs.compiler_version || '2.0.0' }}]) 1500-1999
248+ if : |
249+ ((inputs.invert_selection || false) != (inputs.run_external_libraries_tests_1500_1999 || true))
191250 runs-on : macos-14
192251 steps :
193252 - name : Checkout Repo
@@ -209,6 +268,8 @@ jobs:
209268
210269 external-libraries-tests-2000-2420 :
211270 name : External Libraries Tests (2.0.0[${{ inputs.compiler_version || '2.0.0' }}]) 2000-2420
271+ if : |
272+ ((inputs.invert_selection || false) != (inputs.run_external_libraries_tests_2000_2420 || true))
212273 runs-on : macos-14
213274 steps :
214275 - name : Checkout Repo
0 commit comments