|
1 | 1 | {% metadata_file .yamato/project.metafile %}
|
2 | 2 | ---
|
3 |
| -run_all_tests: |
4 |
| - name: Run All Package and Project Tests |
5 |
| - dependencies: |
6 |
| - # Pull in package and validate jobs through the badges job |
7 |
| - - .yamato/_triggers.yml#badges_test_trigger |
8 |
| - - .yamato/mobile-build-and-test.yml#run_{{ projects.first.name }}_tests_{{ mobile_validation_editor }}_iOS |
9 |
| - - .yamato/mobile-build-and-test.yml#run_{{ projects.first.name }}_tests_{{ mobile_validation_editor }}_android |
10 |
| - # - .yamato/_run-all.yml#all_project_tests_standalone |
11 |
| -{% for project in projects -%} |
12 |
| -{% if project.name == "testproject" -%} |
13 |
| -{% for editor in project.test_editors -%} |
14 |
| - - .yamato/webgl-build.yml#build_{{ project.name }}_tests_{{ editor }}_webgl |
| 3 | + |
| 4 | +# Runs all package tests |
| 5 | +run_all_package_tests: |
| 6 | + name: Run All Package Tests |
| 7 | + dependencies: |
| 8 | +{% for platform in test_platforms.desktop -%} |
| 9 | +{% for editor in validation_editors.all -%} |
| 10 | + - .yamato/package-tests.yml#package_test_-_ngo_{{ editor }}_{{ platform.name }} |
15 | 11 | {% endfor -%}
|
16 |
| -{% endif -%} |
17 | 12 | {% endfor -%}
|
18 | 13 |
|
19 |
| -{% for platform in test_platforms -%} |
20 |
| -{% for project in projects -%} |
21 |
| -{% for editor in project.test_editors -%} |
22 |
| -{% if editor != "trunk" -%} |
23 |
| -{% for package in project.packages -%} |
24 |
| - - .yamato/package-tests.yml#test_{{ project.name}}_{{ package.name }}_{{ editor }}_{{ platform.name }} |
| 14 | + |
| 15 | +# Runs all package tests on trunk editor |
| 16 | +run_all_package_tests_trunk: |
| 17 | + name: Run All Package Tests [Trunk only] |
| 18 | + dependencies: |
| 19 | +{% for platform in test_platforms.desktop -%} |
| 20 | +{% for editor in validation_editors.default -%} |
| 21 | + - .yamato/package-tests.yml#package_test_-_ngo_{{ editor }}_{{ platform.name }} |
25 | 22 | {% endfor -%}
|
26 |
| - - .yamato/project-tests.yml#test_{{ project.name }}_{{ editor }}_{{ platform.name }} |
27 |
| -{% endif -%} |
28 | 23 | {% endfor -%}
|
29 | 24 |
|
30 |
| -## Test minimal project with different versions of dependencies |
31 |
| -{% if project.name == "minimalproject" -%} |
32 |
| -{% for dependency in dependencies -%} |
33 |
| -{% for depeditor in dependency.test_editors -%} |
34 |
| -{% if depeditor != "trunk" -%} |
35 |
| - - .yamato/package-tests.yml#test_compatibility_{{ project.name }}_{{ project.packages.first.name }}_with_{{ dependency.name }}@{{ dependency.version }}_{{ depeditor }}_{{ platform.name }} |
36 |
| -{% endif -%} |
| 25 | +# Runs all package tests on mimimum supported editor (2021.3 in case of NGOv1.X) |
| 26 | +run_all_package_tests_2021: |
| 27 | + name: Run All Package Tests [2021.3] |
| 28 | + dependencies: |
| 29 | +{% for platform in test_platforms.desktop -%} |
| 30 | + - .yamato/package-tests.yml#package_test_-_ngo_trunk_{{ platform.name }} |
| 31 | + - .yamato/package-tests.yml#package_test_-_ngo_2021.3_{{ platform.name }} |
37 | 32 | {% endfor -%}
|
| 33 | + |
| 34 | + |
| 35 | +# Runs all projects tests |
| 36 | +run_all_project_tests: |
| 37 | + name: Run All Project Tests |
| 38 | + dependencies: |
| 39 | +{% for project in projects.all -%} |
| 40 | +{% if project.has_tests == "true" -%} |
| 41 | +{% for platform in test_platforms.desktop -%} |
| 42 | +{% for editor in validation_editors.all -%} |
| 43 | + - .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ editor }} |
38 | 44 | {% endfor -%}
|
39 |
| -{% endif -%} |
40 | 45 | {% endfor -%}
|
| 46 | +{% endif -%} |
41 | 47 | {% endfor -%}
|
42 | 48 |
|
43 |
| -run_all_tests_trunk: |
44 |
| - name: Run All Package and Project Tests [Trunk] |
| 49 | + |
| 50 | +# Runs all projects tests on trunk editor |
| 51 | +run_all_project_tests_trunk: |
| 52 | + name: Run All Project Tests [Trunk only] |
45 | 53 | dependencies:
|
46 |
| -{% for platform in test_platforms -%} |
47 |
| -{% for project in projects -%} |
48 |
| -{% for editor in project.test_editors -%} |
49 |
| -{% if editor == "trunk" -%} |
50 |
| -{% for package in project.packages -%} |
51 |
| - - .yamato/package-tests.yml#test_{{ project.name}}_{{ package.name }}_{{ editor }}_{{ platform.name }} |
| 54 | +{% for project in projects.all -%} |
| 55 | +{% if project.has_tests == "true" -%} |
| 56 | +{% for platform in test_platforms.desktop -%} |
| 57 | +{% for editor in validation_editors.default -%} |
| 58 | + - .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ editor }} |
| 59 | +{% endfor -%} |
52 | 60 | {% endfor -%}
|
53 |
| - - .yamato/project-tests.yml#test_{{ project.name }}_{{ editor }}_{{ platform.name }} |
54 | 61 | {% endif -%}
|
55 | 62 | {% endfor -%}
|
56 | 63 |
|
57 |
| -## Test minimal project with different versions of dependencies on trunk |
58 |
| -{% if project.name == "minimalproject" -%} |
59 |
| -{% for dependency in dependencies -%} |
60 |
| -{% for depeditor in dependency.test_editors -%} |
61 |
| -{% if depeditor == "trunk" -%} |
62 |
| - - .yamato/package-tests.yml#test_compatibility_{{ project.name }}_{{ project.packages.first.name }}_with_{{ dependency.name }}@{{ dependency.version }}_{{ depeditor }}_{{ platform.name }} |
| 64 | +# Runs all projects tests on mimimum supported editor (2021.3 in case of NGOv1.X) |
| 65 | +run_all_project_tests_2021: |
| 66 | + name: Run All Project Tests [2021.3] |
| 67 | + dependencies: |
| 68 | +{% for project in projects.all -%} |
| 69 | +{% if project.has_tests == "true" -%} |
| 70 | +{% for platform in test_platforms.desktop -%} |
| 71 | + - .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_trunk |
| 72 | + - .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_2021.3 |
| 73 | +{% endfor -%} |
63 | 74 | {% endif -%}
|
64 | 75 | {% endfor -%}
|
| 76 | + |
| 77 | + |
| 78 | +# Runs all project standards check |
| 79 | +run_all_projects_standards: |
| 80 | + name: Run All Projects Standards |
| 81 | + dependencies: |
| 82 | +{% for platform in test_platforms.default -%} |
| 83 | +{% for project in projects.all -%} |
| 84 | +{% for editor in validation_editors.default -%} |
| 85 | + - .yamato/project-standards.yml#standards_{{ platform.name }}_{{ project.name }}_{{ editor }} |
65 | 86 | {% endfor -%}
|
66 |
| -{% endif -%} |
67 | 87 | {% endfor -%}
|
68 | 88 | {% endfor -%}
|
69 | 89 |
|
70 |
| -all_project_tests: |
71 |
| - name: Run All Project Tests |
| 90 | + |
| 91 | +# Runs all WebGL builds |
| 92 | +run_all_webgl_builds: |
| 93 | + name: Run All WebGl Build |
72 | 94 | dependencies:
|
73 |
| - - .yamato/_triggers.yml#badges_test_trigger |
74 |
| -{% for platform in test_platforms -%} |
75 |
| -{% for project in projects -%} |
76 |
| -{% for editor in project.test_editors -%} |
77 |
| - - .yamato/project-tests.yml#test_{{ projects.first.name }}_{{ editor }}_{{ platform.name }} |
| 95 | +{% for project in projects.default -%} |
| 96 | +{% for platform in test_platforms.desktop -%} |
| 97 | +{% for editor in validation_editors.all -%} |
| 98 | + - .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }} |
78 | 99 | {% endfor -%}
|
79 | 100 | {% endfor -%}
|
80 | 101 | {% endfor -%}
|
81 | 102 |
|
82 |
| -all_package_tests: |
83 |
| - name: Run All Package Tests |
| 103 | + |
| 104 | +# Runs all WebGL builds on trunk editor |
| 105 | +run_all_webgl_builds_trunk: |
| 106 | + name: Run All WebGl Build [Trunk only] |
84 | 107 | dependencies:
|
85 |
| - - .yamato/_triggers.yml#badges_test_trigger |
86 |
| -{% for platform in test_platforms -%} |
87 |
| -{% for project in projects -%} |
88 |
| -{% for editor in project.test_editors -%} |
89 |
| -{% for package in project.packages -%} |
90 |
| - - .yamato/package-tests.yml#test_{{ project.name}}_{{ package.name }}_{{ editor }}_{{ platform.name }} |
| 108 | +{% for project in projects.default -%} |
| 109 | +{% for platform in test_platforms.desktop -%} |
| 110 | +{% for editor in validation_editors.default -%} |
| 111 | + - .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }} |
| 112 | +{% endfor -%} |
91 | 113 | {% endfor -%}
|
92 | 114 | {% endfor -%}
|
| 115 | + |
| 116 | +# Runs all WebGL builds on 2021.3 editor |
| 117 | +run_all_webgl_builds_2021: |
| 118 | + name: Run All WebGl Build [2021.3] |
| 119 | + dependencies: |
| 120 | +{% for project in projects.default -%} |
| 121 | +{% for platform in test_platforms.desktop -%} |
| 122 | + - .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_trunk |
| 123 | + - .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_2021.3 |
93 | 124 | {% endfor -%}
|
94 | 125 | {% endfor -%}
|
95 | 126 |
|
96 |
| -# Test minimal project with different versions of dependencies |
97 |
| -all_compatibility_tests: |
98 |
| - name: Run All Compatibility Tests |
| 127 | + |
| 128 | +# Runs all Desktop tests |
| 129 | +run_all_project_tests_desktop_standalone: |
| 130 | + name: Run All Standalone Tests - Desktop |
99 | 131 | dependencies:
|
100 |
| -{% for platform in test_platforms -%} |
101 |
| -{% for project in projects -%} |
102 |
| -{% if project.name == "minimalproject" -%} |
103 |
| -{% for dependency in dependencies -%} |
104 |
| -{% for editor in dependency.test_editors -%} |
105 |
| - - .yamato/package-tests.yml#test_compatibility_{{ project.name }}_{{ project.packages.first.name }}_with_{{ dependency.name }}@{{ dependency.version }}_{{ editor }}_{{ platform.name }} |
| 132 | +{% for project in projects.default -%} |
| 133 | +{% for platform in test_platforms.desktop -%} |
| 134 | +{% for editor in validation_editors.all -%} |
| 135 | +{% for backend in scripting_backends -%} |
| 136 | + - .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ editor }} |
106 | 137 | {% endfor -%}
|
107 | 138 | {% endfor -%}
|
108 |
| -{% endif -%} |
109 | 139 | {% endfor -%}
|
110 | 140 | {% endfor -%}
|
111 | 141 |
|
112 |
| -all_singlenode_multiprocess_tests: |
113 |
| - name: Run All Multiprocess Tests - Single Node |
| 142 | + |
| 143 | +# Runs all Desktop tests on trunk editor |
| 144 | +run_all_project_tests_desktop_standalone_trunk: |
| 145 | + name: Run All Standalone Tests - Desktop [Trunk only] |
114 | 146 | dependencies:
|
115 |
| -{% for platform in test_platforms -%} |
116 |
| -{% for project in projects -%} |
117 |
| -{% for editor in project.test_editors -%} |
118 |
| -{% if editor != "trunk" %} |
119 |
| - - .yamato/multiprocess-project-tests.yml#singlenode_multiprocess_test_testproject_{{ editor }}_{{ platform.name }} |
120 |
| -{% endif %} |
| 147 | +{% for project in projects.default -%} |
| 148 | +{% for platform in test_platforms.desktop -%} |
| 149 | +{% for editor in validation_editors.default -%} |
| 150 | +{% for backend in scripting_backends -%} |
| 151 | + - .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ editor }} |
| 152 | +{% endfor -%} |
121 | 153 | {% endfor -%}
|
122 | 154 | {% endfor -%}
|
123 | 155 | {% endfor -%}
|
124 | 156 |
|
125 |
| -all_project_tests_standalone: |
126 |
| - name: Run All Project Tests - Standalone |
| 157 | +# Runs all Desktop tests on mimimum supported editor (2021.3 in case of NGOv1.X) |
| 158 | +run_all_project_tests_desktop_standalone_2021: |
| 159 | + name: Run All Standalone Tests - Desktop [2021.3] |
127 | 160 | dependencies:
|
128 |
| -{% for platform in test_platforms -%} |
129 |
| -{% for project in projects -%} |
130 |
| -{% if project.has_tests == "true" -%} |
131 |
| -{% for editor in project.test_editors -%} |
| 161 | +{% for project in projects.default -%} |
| 162 | +{% for platform in test_platforms.desktop -%} |
132 | 163 | {% for backend in scripting_backends -%}
|
133 |
| - - .yamato/standalone-project-tests.yml#standalone_tests_{{ project.name }}_{{ backend }}_{{ editor }}_{{ platform.name }} |
| 164 | + - .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_trunk |
| 165 | + - .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_2021.3 |
134 | 166 | {% endfor -%}
|
135 | 167 | {% endfor -%}
|
136 |
| -{% endif -%} |
| 168 | +{% endfor -%} |
| 169 | + |
| 170 | +# Runs all Mobile tests |
| 171 | +run_all_project_tests_mobile_standalone: |
| 172 | + name: Run All Standalone Tests - Mobile |
| 173 | + dependencies: |
| 174 | +{% for project in projects.default -%} |
| 175 | +{% for platform in test_platforms.mobile_test -%} |
| 176 | +{% for editor in validation_editors.all -%} |
| 177 | + - .yamato/mobile-standalone-test.yml#run_{{ project.name }}_tests_{{ platform.name }}_{{ editor }} |
| 178 | +{% endfor -%} |
137 | 179 | {% endfor -%}
|
138 | 180 | {% endfor -%}
|
139 | 181 |
|
140 |
| -all_project_tests_mobile: |
141 |
| - name: Run All Project Tests - Mobile |
| 182 | + |
| 183 | +# Runs all Mobile tests on trunk editor |
| 184 | +run_all_project_tests_mobile_standalone_trunk: |
| 185 | + name: Run All Standalone Tests - Mobile [Trunk only] |
142 | 186 | dependencies:
|
143 |
| -{% for project in projects -%} |
144 |
| -{% if project.name == "testproject" -%} |
145 |
| -{% for editor in project.test_editors -%} |
146 |
| - - .yamato/mobile-build-and-test.yml#run_{{ project.name }}_tests_{{ editor }}_android |
147 |
| - - .yamato/mobile-build-and-test.yml#run_{{ project.name }}_tests_{{ editor }}_iOS |
| 187 | +{% for project in projects.default -%} |
| 188 | +{% for platform in test_platforms.mobile_test -%} |
| 189 | +{% for editor in validation_editors.default -%} |
| 190 | + - .yamato/mobile-standalone-test.yml#run_{{ project.name }}_tests_{{ platform.name }}_{{ editor }} |
| 191 | +{% endfor -%} |
148 | 192 | {% endfor -%}
|
149 |
| -{% endif -%} |
150 | 193 | {% endfor -%}
|
151 | 194 |
|
152 |
| -all_project_tests_webgl: |
153 |
| - name: Build All Project Tests - WebGL |
| 195 | +# Runs all Mobile tests on mimimum supported editor (2021.3 in case of NGOv1.X) |
| 196 | +run_all_project_tests_mobile_standalone_2021: |
| 197 | + name: Run All Standalone Tests - Mobile [2021.3] |
154 | 198 | dependencies:
|
155 |
| -{% for project in projects -%} |
156 |
| -{% if project.name == "testproject" -%} |
157 |
| -{% for editor in project.test_editors -%} |
158 |
| - - .yamato/webgl-build.yml#build_{{ project.name }}_tests_{{ editor }}_webgl |
| 199 | +{% for project in projects.default -%} |
| 200 | +{% for platform in test_platforms.mobile_test -%} |
| 201 | + - .yamato/mobile-standalone-test.yml#run_{{ project.name }}_tests_{{ platform.name }}_trunk |
| 202 | + - .yamato/mobile-standalone-test.yml#run_{{ project.name }}_tests_{{ platform.name }}_2021.3 |
| 203 | +{% endfor -%} |
| 204 | +{% endfor -%} |
| 205 | + |
| 206 | + |
| 207 | +# Runs all Console tests |
| 208 | +run_all_project_tests_console_standalone: |
| 209 | + name: Run All Standalone Tests - Console |
| 210 | + dependencies: |
| 211 | +{% for project in projects.default -%} |
| 212 | +{% for platform in test_platforms.console_test -%} |
| 213 | +{% for editor in validation_editors.all -%} |
| 214 | + - .yamato/console-standalone-test.yml#run_{{ project.name }}_tests_{{ platform.name }}_{{ editor }} |
| 215 | +{% endfor -%} |
| 216 | +{% endfor -%} |
| 217 | +{% endfor -%} |
| 218 | + |
| 219 | + |
| 220 | +# Runs all Console tests on trunk editor |
| 221 | +run_all_project_tests_console_standalone_trunk: |
| 222 | + name: Run All Standalone Tests - Console [Trunk only] |
| 223 | + dependencies: |
| 224 | +{% for project in projects.default -%} |
| 225 | +{% for platform in test_platforms.console_test -%} |
| 226 | +{% for editor in validation_editors.default -%} |
| 227 | + - .yamato/console-standalone-test.yml#run_{{ project.name }}_tests_{{ platform.name }}_{{ editor }} |
| 228 | +{% endfor -%} |
| 229 | +{% endfor -%} |
| 230 | +{% endfor -%} |
| 231 | + |
| 232 | +# Runs all Console tests on mimimum supported editor (2021.3 in case of NGOv1.X) |
| 233 | +run_all_project_tests_console_standalone_2021: |
| 234 | + name: Run All Standalone Tests - Console [2021.3] |
| 235 | + dependencies: |
| 236 | +{% for project in projects.default -%} |
| 237 | +{% for platform in test_platforms.console_test -%} |
| 238 | + - .yamato/console-standalone-test.yml#run_{{ project.name }}_tests_{{ platform.name }}_trunk |
| 239 | + - .yamato/console-standalone-test.yml#run_{{ project.name }}_tests_{{ platform.name }}_2021.3 |
159 | 240 | {% endfor -%}
|
160 |
| -{% endif -%} |
161 | 241 | {% endfor -%}
|
0 commit comments