-
Notifications
You must be signed in to change notification settings - Fork 459
Expand file tree
/
Copy path_run-all.yml
More file actions
254 lines (220 loc) · 9.1 KB
/
_run-all.yml
File metadata and controls
254 lines (220 loc) · 9.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
{% metadata_file .yamato/project.metafile %} # All configuration that is used to create different configurations (used in for loops) is taken from this file.
---
# DESCRIPTION--------------------------------------------------------------------------
# Those jobs group together related test as dependencies to allow to easily manage running a given set of tests.
# This enables efficient test execution for different validation scenarios
# QUALITY CONSIDERATIONS---------------------------------------------------------------
# It's important to ensure that all dependencies exist (this can be verified in Yamato) since a modification in parameters may result in a given job not being generated, and thus we will not be able to run such erroneous job.
#-----------------------------------------------------------------------------------
# This job runs the fastest checks (PVP and code standards)
# This is mainly used to quickly validate the easy mistakes before for example running PR trigger jobs (see _triggers.yml)
run_quick_checks:
name: Run Quick Initial Checks
dependencies:
- .yamato/package-pack.yml#package_pack_-_ngo_ubuntu
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
# Run API validation to early-detect all new APIs that would force us to release new minor version of the package. Note that for this to work the package version in package.json must correspond to "actual package state" which means that it should be higher than last released version
- .yamato/vetting-test.yml#vetting_test
# Runs all package tests
run_all_package_tests:
name: Run All Package Tests
dependencies:
{% for platform in test_platforms.desktop -%}
{% for editor in validation_editors.all -%}
- .yamato/package-tests.yml#package_test_-_ngo_{{ editor }}_{{ platform.name }}
{% endfor -%}
{% endfor -%}
# Runs all package tests on trunk editor
run_all_package_tests_trunk:
name: Run All Package Tests [Trunk only]
dependencies:
{% for platform in test_platforms.desktop -%}
{% for editor in validation_editors.default -%}
- .yamato/package-tests.yml#package_test_-_ngo_{{ editor }}_{{ platform.name }}
{% endfor -%}
{% endfor -%}
# Runs all package tests on mimimum supported editor (2021.3 in case of NGOv1.X)
run_all_package_tests_2021:
name: Run All Package Tests [2021.3]
dependencies:
{% for platform in test_platforms.desktop -%}
- .yamato/package-tests.yml#package_test_-_ngo_2021.3_{{ platform.name }}
{% endfor -%}
# Runs all projects tests
run_all_project_tests:
name: Run All Project Tests
dependencies:
{% for project in projects.all -%}
{% if project.has_tests == "true" -%}
{% for platform in test_platforms.desktop -%}
{% for editor in validation_editors.all -%}
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endif -%}
{% endfor -%}
# Runs all projects tests on trunk editor
run_all_project_tests_trunk:
name: Run All Project Tests [Trunk only]
dependencies:
{% for project in projects.all -%}
{% if project.has_tests == "true" -%}
{% for platform in test_platforms.desktop -%}
{% for editor in validation_editors.default -%}
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endif -%}
{% endfor -%}
# Runs all projects tests on mimimum supported editor (2021.3 in case of NGOv1.X)
run_all_project_tests_2021:
name: Run All Project Tests [2021.3]
dependencies:
{% for project in projects.all -%}
{% if project.has_tests == "true" -%}
{% for platform in test_platforms.desktop -%}
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_2021.3
{% endfor -%}
{% endif -%}
{% endfor -%}
# Runs all project standards check
run_all_projects_standards:
name: Run All Projects Standards
dependencies:
{% for platform in test_platforms.default -%}
{% for project in projects.all -%}
{% for editor in validation_editors.default -%}
- .yamato/project-standards.yml#standards_{{ platform.name }}_{{ project.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all WebGL builds
run_all_webgl_builds:
name: Run All WebGl Build
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
{% for editor in validation_editors.all -%}
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all WebGL builds on trunk editor
run_all_webgl_builds_trunk:
name: Run All WebGl Build [Trunk only]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
{% for editor in validation_editors.default -%}
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all WebGL builds on 2021.3 editor
run_all_webgl_builds_2021:
name: Run All WebGl Build [2021.3]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_2021.3
{% endfor -%}
{% endfor -%}
# Runs all Desktop tests
run_all_project_tests_desktop_standalone:
name: Run All Standalone Tests - Desktop
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
{% for editor in validation_editors.all -%}
{% for backend in scripting_backends -%}
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all Desktop tests on trunk editor
run_all_project_tests_desktop_standalone_trunk:
name: Run All Standalone Tests - Desktop [Trunk only]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
{% for editor in validation_editors.default -%}
{% for backend in scripting_backends -%}
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all Desktop tests on mimimum supported editor (2021.3 in case of NGOv1.X)
run_all_project_tests_desktop_standalone_2021:
name: Run All Standalone Tests - Desktop [2021.3]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
{% for backend in scripting_backends -%}
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_2021.3
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all Mobile tests
run_all_project_tests_mobile_standalone:
name: Run All Standalone Tests - Mobile
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.mobile_test -%}
{% for editor in validation_editors.all -%}
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all Mobile tests on trunk editor
run_all_project_tests_mobile_standalone_trunk:
name: Run All Standalone Tests - Mobile [Trunk only]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.mobile_test -%}
{% for editor in validation_editors.default -%}
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all Mobile tests on mimimum supported editor (2021.3 in case of NGOv1.X)
run_all_project_tests_mobile_standalone_2021:
name: Run All Standalone Tests - Mobile [2021.3]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.mobile_test -%}
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_2021.3
{% endfor -%}
{% endfor -%}
# Runs all Console tests
run_all_project_tests_console_standalone:
name: Run All Standalone Tests - Console
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.console_test -%}
{% for editor in validation_editors.all -%}
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all Console tests on trunk editor
run_all_project_tests_console_standalone_trunk:
name: Run All Standalone Tests - Console [Trunk only]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.console_test -%}
{% for editor in validation_editors.default -%}
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ editor }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
# Runs all Console tests on mimimum supported editor (2021.3 in case of NGOv1.X)
run_all_project_tests_console_standalone_2021:
name: Run All Standalone Tests - Console [2021.3]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.console_test -%}
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_2021.3
{% endfor -%}
{% endfor -%}