Skip to content

Commit 458d716

Browse files
committed
CI adjustments for new editor setup
1 parent 65a9cb5 commit 458d716

5 files changed

Lines changed: 110 additions & 190 deletions

File tree

‎.yamato/_run-all.yml‎

Lines changed: 57 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -27,33 +27,25 @@ run_all_package_tests:
2727
dependencies:
2828
{% for platform in test_platforms.desktop -%}
2929
{% for editor in validation_editors.all -%}
30-
- .yamato/package-tests.yml#package_test_-_ngo_{{ editor }}_{{ platform.name }}
30+
- .yamato/package-tests.yml#package_test_-_ngo_{{ platform.name }}_{{ editor }}
3131
{% endfor -%}
3232
{% endfor -%}
3333

3434

35-
# Runs all package tests on trunk editor
36-
run_all_package_tests_trunk:
37-
name: Run All Package Tests [Trunk only]
35+
# Runs all package tests on latest supported editor
36+
run_all_package_tests_{{ validation_editors.latest }}:
37+
name: Run All Package Tests [{{ validation_editors.latest }} only]
3838
dependencies:
3939
{% for platform in test_platforms.desktop -%}
40-
- .yamato/package-tests.yml#package_test_-_ngo_trunk_{{ platform.name }}
40+
- .yamato/package-tests.yml#package_test_-_ngo_{{ platform.name }}_{{ validation_editors.latest }}
4141
{% endfor -%}
4242

43-
# Runs all package tests on pinned trunk editor (This is used for PR testing as we want to avoid blocking failures)
44-
run_all_package_tests_pinnedTrunk:
45-
name: Run All Package Tests [Pinned Trunk only]
43+
# Runs all package tests on minimal supported editor
44+
run_all_package_tests_{{ validation_editors.minimal }}:
45+
name: Run All Package Tests [{{ validation_editors.minimal }}]
4646
dependencies:
4747
{% for platform in test_platforms.desktop -%}
48-
- .yamato/package-tests.yml#package_test_-_ngo_{{ pinnedTrunk }}_{{ platform.name }}
49-
{% endfor -%}
50-
51-
# Runs all package tests on mimimum supported editor (6000.0 in case of NGOv2.X)
52-
run_all_package_tests_6000:
53-
name: Run All Package Tests [6000.0]
54-
dependencies:
55-
{% for platform in test_platforms.desktop -%}
56-
- .yamato/package-tests.yml#package_test_-_ngo_6000.0_{{ platform.name }}
48+
- .yamato/package-tests.yml#package_test_-_ngo_{{ platform.name }}_{{ validation_editors.minimal }}
5749
{% endfor -%}
5850

5951

@@ -72,38 +64,26 @@ run_all_project_tests:
7264
{% endfor -%}
7365

7466

75-
# Runs all projects tests on trunk editor
76-
run_all_project_tests_trunk:
77-
name: Run All Project Tests [Trunk only]
78-
dependencies:
79-
{% for project in projects.all -%}
80-
{% if project.has_tests == "true" -%}
81-
{% for platform in test_platforms.desktop -%}
82-
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_trunk
83-
{% endfor -%}
84-
{% endif -%}
85-
{% endfor -%}
86-
87-
# Runs all projects tests on pinned trunk editor (This is used for PR testing as we want to avoid blocking failures)
88-
run_all_project_tests_pinnedTrunk:
89-
name: Run All Project Tests [Pinned Trunk only]
67+
# Runs all projects tests on latest supported editor
68+
run_all_project_tests_{{ validation_editors.latest }}:
69+
name: Run All Project Tests [{{ validation_editors.latest }} only]
9070
dependencies:
9171
{% for project in projects.all -%}
9272
{% if project.has_tests == "true" -%}
9373
{% for platform in test_platforms.desktop -%}
94-
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ pinnedTrunk }}
74+
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.latest }}
9575
{% endfor -%}
9676
{% endif -%}
9777
{% endfor -%}
9878

99-
# Runs all projects tests on mimimum supported editor (6000.0 in case of NGOv2.X)
100-
run_all_project_tests_6000:
101-
name: Run All Project Tests [6000.0]
79+
# Runs all projects tests on minimal supported editor
80+
run_all_project_tests_{{ validation_editors.minimal }}:
81+
name: Run All Project Tests [{{ validation_editors.minimal }}]
10282
dependencies:
10383
{% for project in projects.all -%}
10484
{% if project.has_tests == "true" -%}
10585
{% for platform in test_platforms.desktop -%}
106-
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_6000.0
86+
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.minimal }}
10787
{% endfor -%}
10888
{% endif -%}
10989
{% endfor -%}
@@ -135,34 +115,24 @@ run_all_webgl_builds:
135115
{% endfor -%}
136116

137117

138-
# Runs all WebGL builds on trunk editor
139-
run_all_webgl_builds_trunk:
140-
name: Run All WebGl Build [Trunk only]
118+
# Runs all WebGL builds on latest supported editor
119+
run_all_webgl_builds_{{ validation_editors.latest }}:
120+
name: Run All WebGl Build [{{ validation_editors.latest }} only]
141121
dependencies:
142122
{% for project in projects.default -%}
143123
{% for platform in test_platforms.desktop -%}
144-
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_trunk
124+
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ validation_editors.latest }}
145125
{% endfor -%}
146126
{% endfor -%}
147127

148128

149-
# Runs all WebGL builds on pinned trunk editor (This is used for PR testing as we want to avoid blocking failures)
150-
run_all_webgl_builds_pinnedTrunk:
151-
name: Run All WebGl Build [Pinned Trunk only]
129+
# Runs all WebGL builds on minimal supported editor
130+
run_all_webgl_builds_{{ validation_editors.minimal }}:
131+
name: Run All WebGl Build [{{ validation_editors.minimal }}]
152132
dependencies:
153133
{% for project in projects.default -%}
154134
{% for platform in test_platforms.desktop -%}
155-
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ pinnedTrunk }}
156-
{% endfor -%}
157-
{% endfor -%}
158-
159-
# Runs all WebGL builds on 6000.0 editor
160-
run_all_webgl_builds_6000:
161-
name: Run All WebGl Build [6000.0]
162-
dependencies:
163-
{% for project in projects.default -%}
164-
{% for platform in test_platforms.desktop -%}
165-
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_6000.0
135+
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ validation_editors.minimal }}
166136
{% endfor -%}
167137
{% endfor -%}
168138

@@ -182,38 +152,26 @@ run_all_project_tests_desktop_standalone:
182152
{% endfor -%}
183153

184154

185-
# Runs all Desktop tests on trunk editor
186-
run_all_project_tests_desktop_standalone_trunk:
187-
name: Run All Standalone Tests - Desktop [Trunk only]
155+
# Runs all Desktop tests on latest supported editor
156+
run_all_project_tests_desktop_standalone_{{ validation_editors.latest }}:
157+
name: Run All Standalone Tests - Desktop [{{ validation_editors.latest }} only]
188158
dependencies:
189159
{% for project in projects.default -%}
190160
{% for platform in test_platforms.desktop -%}
191161
{% for backend in scripting_backends -%}
192-
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_trunk
162+
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ validation_editors.latest }}
193163
{% endfor -%}
194164
{% endfor -%}
195165
{% endfor -%}
196166

197-
# Runs all Desktop tests on pinned trunk editor (This is used for PR testing as we want to avoid blocking failures)
198-
run_all_project_tests_desktop_standalone_pinnedTrunk:
199-
name: Run All Standalone Tests - Desktop [Pinned Trunk only]
167+
# Runs all Desktop tests on minimal supported editor
168+
run_all_project_tests_desktop_standalone_{{ validation_editors.minimal }}:
169+
name: Run All Standalone Tests - Desktop [{{ validation_editors.minimal }}]
200170
dependencies:
201171
{% for project in projects.default -%}
202172
{% for platform in test_platforms.desktop -%}
203173
{% for backend in scripting_backends -%}
204-
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ pinnedTrunk }}
205-
{% endfor -%}
206-
{% endfor -%}
207-
{% endfor -%}
208-
209-
# Runs all Desktop tests on mimimum supported editor (6000.0 in case of NGOv2.X)
210-
run_all_project_tests_desktop_standalone_6000:
211-
name: Run All Standalone Tests - Desktop [6000.0]
212-
dependencies:
213-
{% for project in projects.default -%}
214-
{% for platform in test_platforms.desktop -%}
215-
{% for backend in scripting_backends -%}
216-
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_6000.0
174+
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ validation_editors.minimal }}
217175
{% endfor -%}
218176
{% endfor -%}
219177
{% endfor -%}
@@ -231,33 +189,24 @@ run_all_project_tests_mobile_standalone:
231189
{% endfor -%}
232190

233191

234-
# Runs all Mobile tests on trunk editor
235-
run_all_project_tests_mobile_standalone_trunk:
236-
name: Run All Standalone Tests - Mobile [Trunk only]
192+
# Runs all Mobile tests on latest supported editor
193+
run_all_project_tests_mobile_standalone_{{ validation_editors.latest }}:
194+
name: Run All Standalone Tests - Mobile [{{ validation_editors.latest }} only]
237195
dependencies:
238196
{% for project in projects.default -%}
239197
{% for platform in test_platforms.mobile_test -%}
240-
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_trunk
198+
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.latest }}
241199
{% endfor -%}
242200
{% endfor -%}
243201

244-
# Runs all Mobile tests on pinned trunk editor (This is used for PR testing as we want to avoid blocking failures)
245-
run_all_project_tests_mobile_standalone_pinnedTrunk:
246-
name: Run All Standalone Tests - Mobile [Pinned Trunk only]
247-
dependencies:
248-
{% for project in projects.default -%}
249-
{% for platform in test_platforms.mobile_test -%}
250-
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ pinnedTrunk }}
251-
{% endfor -%}
252-
{% endfor -%}
253202

254-
# Runs all Mobile tests on mimimum supported editor (6000.0 in case of NGOv2.X)
255-
run_all_project_tests_mobile_standalone_6000:
256-
name: Run All Standalone Tests - Mobile [6000.0]
203+
# Runs all Mobile tests on minimal supported editor
204+
run_all_project_tests_mobile_standalone_{{ validation_editors.minimal }}:
205+
name: Run All Standalone Tests - Mobile [{{ validation_editors.minimal }}]
257206
dependencies:
258207
{% for project in projects.default -%}
259208
{% for platform in test_platforms.mobile_test -%}
260-
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_6000.0
209+
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.minimal }}
261210
{% endfor -%}
262211
{% endfor -%}
263212

@@ -275,33 +224,23 @@ run_all_project_tests_console_standalone:
275224
{% endfor -%}
276225

277226

278-
# Runs all Console tests on trunk editor
279-
run_all_project_tests_console_standalone_trunk:
280-
name: Run All Standalone Tests - Console [Trunk only]
281-
dependencies:
282-
{% for project in projects.default -%}
283-
{% for platform in test_platforms.console_test -%}
284-
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_trunk
285-
{% endfor -%}
286-
{% endfor -%}
287-
288-
# Runs all Console tests on pinned trunk editor (This is used for PR testing as we want to avoid blocking failures)
289-
run_all_project_tests_console_standalone_pinnedTrunk:
290-
name: Run All Standalone Tests - Console [Pinned Trunk only]
227+
# Runs all Console tests on latest supported editor
228+
run_all_project_tests_console_standalone_{{ validation_editors.latest }}:
229+
name: Run All Standalone Tests - Console [{{ validation_editors.latest }} only]
291230
dependencies:
292231
{% for project in projects.default -%}
293232
{% for platform in test_platforms.console_test -%}
294-
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ pinnedTrunk }}
233+
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.latest }}
295234
{% endfor -%}
296235
{% endfor -%}
297236

298-
# Runs all Console tests on mimimum supported editor (6000.0 in case of NGOv2.X)
299-
run_all_project_tests_console_standalone_6000:
300-
name: Run All Standalone Tests - Console [6000.0]
237+
# Runs all Console tests on minimal supported editor
238+
run_all_project_tests_console_standalone_{{ validation_editors.minimal }}:
239+
name: Run All Standalone Tests - Console [{{ validation_editors.minimal }}]
301240
dependencies:
302241
{% for project in projects.default -%}
303242
{% for platform in test_platforms.console_test -%}
304-
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_6000.0
243+
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.minimal }}
305244
{% endfor -%}
306245
{% endfor -%}
307246

@@ -320,38 +259,26 @@ run_all_project_tests_cmb_service:
320259
{% endfor -%}
321260
{% endfor -%}
322261

323-
# Runs all CMB service tests on trunk editor
324-
run_all_project_tests_cmb_service_trunk:
325-
name: Run All CMB Service Tests [Trunk only]
326-
dependencies:
327-
{% for project in projects.default -%}
328-
{% for platform in test_platforms.default -%}
329-
{% for backend in scripting_backends -%}
330-
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_trunk
331-
{% endfor -%}
332-
{% endfor -%}
333-
{% endfor -%}
334-
335-
# Runs all CMB service tests on pinned trunk editor (This is used for PR testing as we want to avoid blocking failures)
336-
run_all_project_tests_cmb_service_pinnedTrunk:
337-
name: Run All CMB Service Tests [Pinned Trunk only]
262+
# Runs all CMB service tests on latest supported editor
263+
run_all_project_tests_cmb_service_{{ validation_editors.latest }}:
264+
name: Run All CMB Service Tests [{{ validation_editors.latest }} only]
338265
dependencies:
339266
{% for project in projects.default -%}
340267
{% for platform in test_platforms.default -%}
341268
{% for backend in scripting_backends -%}
342-
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ pinnedTrunk }}
269+
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ validation_editors.latest }}
343270
{% endfor -%}
344271
{% endfor -%}
345272
{% endfor -%}
346273

347-
# Runs all CMB service tests on mimimum supported editor (6000.0 in case of NGOv2.X)
348-
run_all_project_tests_cmb_service_6000:
349-
name: Run All CMB Service Tests [6000.0]
274+
# Runs all CMB service tests on minimal supported editor
275+
run_all_project_tests_cmb_service_{{ validation_editors.minimal }}:
276+
name: Run All CMB Service Tests [{{ validation_editors.minimal }}]
350277
dependencies:
351278
{% for project in projects.default -%}
352279
{% for platform in test_platforms.default -%}
353280
{% for backend in scripting_backends -%}
354-
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_6000.0
281+
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ validation_editors.minimal }}
355282
{% endfor -%}
356283
{% endfor -%}
357284
{% endfor -%}

0 commit comments

Comments
 (0)