Skip to content

Commit 888838c

Browse files
committed
Added testing coverage on minimal supported editor (2021.3)
1 parent 90a0ca5 commit 888838c

File tree

2 files changed

+93
-12
lines changed

2 files changed

+93
-12
lines changed

.yamato/_run-all.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ run_all_package_tests_trunk:
2222
{% endfor -%}
2323
{% endfor -%}
2424

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 }}
32+
{% endfor -%}
33+
2534

2635
# Runs all projects tests
2736
run_all_project_tests:
@@ -52,6 +61,19 @@ run_all_project_tests_trunk:
5261
{% endif -%}
5362
{% endfor -%}
5463

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 -%}
74+
{% endif -%}
75+
{% endfor -%}
76+
5577

5678
# Runs all project standards check
5779
run_all_projects_standards:
@@ -91,6 +113,17 @@ run_all_webgl_builds_trunk:
91113
{% endfor -%}
92114
{% endfor -%}
93115

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 }}_trunk
123+
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform }}_2021.3
124+
{% endfor -%}
125+
{% endfor -%}
126+
94127

95128
# Runs all Desktop tests
96129
run_all_project_tests_desktop_standalone:
@@ -121,6 +154,19 @@ run_all_project_tests_desktop_standalone_trunk:
121154
{% endfor -%}
122155
{% endfor -%}
123156

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]
160+
dependencies:
161+
{% for project in projects.default -%}
162+
{% for platform in test_platforms.desktop -%}
163+
{% for backend in scripting_backends -%}
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
166+
{% endfor -%}
167+
{% endfor -%}
168+
{% endfor -%}
169+
124170
# Runs all Mobile tests
125171
run_all_project_tests_mobile_standalone:
126172
name: Run All Standalone Tests - Mobile
@@ -146,6 +192,17 @@ run_all_project_tests_mobile_standalone_trunk:
146192
{% endfor -%}
147193
{% endfor -%}
148194

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]
198+
dependencies:
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+
149206

150207
# Runs all Console tests
151208
run_all_project_tests_console_standalone:
@@ -171,3 +228,14 @@ run_all_project_tests_console_standalone_trunk:
171228
{% endfor -%}
172229
{% endfor -%}
173230
{% 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
240+
{% endfor -%}
241+
{% endfor -%}

.yamato/_triggers.yml

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@
55
pull_request_trigger:
66
name: Pull Request Trigger (develop, develop-2.0.0, & release branches)
77
dependencies:
8-
# Run project standards to verify package/default project
8+
# Run project standards to verify package/default project. This is fine to just run for trunk
99
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
10-
# Run package EditMode and Playmode tests on desktop platforms on trunk
10+
# Run package EditMode and Playmode package tests on trunk
1111
- .yamato/_run-all.yml#run_all_package_tests_trunk
12-
# Run project EditMode and PLaymode tests on desktop platforms on trunk
12+
# Run package EditMode and Playmode package tests on minimum supported editor (2021.3 in case of NGOv1.X)
13+
- .yamato/_run-all.yml#run_all_package_tests_2021
14+
# Run project EditMode and PLaymode project tests on trunk
1315
- .yamato/_run-all.yml#run_all_project_tests_trunk
14-
# Run one standalone test to make sure there are no obvious issues with most common platform (for example --fail-on-assert option is not present with package/project tests)
16+
# Run project EditMode and PLaymode project tests on minimum supported editor (2021.3 in case of NGOv1.X)
17+
- .yamato/_run-all.yml#run_all_project_tests_2021
18+
# Run one standalone test to make sure there are no obvious issues with most common platform (for example --fail-on-assert option is not present with package/project tests). We run 2 different combinations (platform/editor)
1519
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_win_il2cpp_trunk
20+
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_ubuntu_il2cpp_2021.3
1621
triggers:
1722
cancel_old_ci: true
1823
pull_requests:
@@ -28,7 +33,7 @@ pull_request_trigger:
2833
# Same subset as pull_request_trigger with addition of mobile/desktop/console tests and webgl builds
2934
# Those tests are all running on trunk editor (since it's daily and running all of them would add a lot of overhead)
3035
develop_nightly:
31-
name: "\U0001F319 [Nightly] Run All Tests [Trunk]"
36+
name: "\U0001F319 [Nightly] Run All Tests [Trunk and 2021]"
3237
triggers:
3338
recurring:
3439
- branch: develop
@@ -37,22 +42,30 @@ develop_nightly:
3742
dependencies:
3843
# Run project standards to verify package/default project
3944
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
45+
- .yamato/project-standards.yml#standards_ubuntu_testproject_2021
4046
# Run APV jobs to make sure the change won't break any dependants
4147
- .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs
42-
# Run package EditMode and Playmode tests on desktop platforms on trunk
48+
# Run package EditMode and Playmode tests on desktop platforms on trunk and 2021.3
4349
- .yamato/_run-all.yml#run_all_package_tests_trunk
44-
# Run project EditMode and PLaymode tests on desktop platforms on trunk
50+
- .yamato/_run-all.yml#run_all_package_tests_2021
51+
# Run project EditMode and PLaymode tests on desktop platforms on trunk and 2021.3
4552
- .yamato/_run-all.yml#run_all_project_tests_trunk
46-
# Run Runtime tests on desktop players on trunk
53+
- .yamato/_run-all.yml#run_all_project_tests_2021
54+
# Run Runtime tests on desktop players on trunk and 2021 editors
4755
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_trunk
48-
# Run Runtime tests on mobile players on trunk
56+
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_2021
57+
# Run Runtime tests on mobile players on trunk and 2021 editors
4958
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_trunk
50-
# Run Runtime tests on console players on trunk
59+
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_2021
60+
# Run Runtime tests on console players on trunk and 2021 editors
5161
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_trunk
52-
# Build player for webgl platform on trunk
62+
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_2021
63+
# Build player for webgl platform on trunk and 2021 editors
5364
- .yamato/_run-all.yml#run_all_webgl_builds_trunk
54-
# Build player for webgl platform on trunk
65+
- .yamato/_run-all.yml#run_all_webgl_builds_2021
66+
# Build player for webgl platform on trunk and 2021 editors
5567
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_ubuntu_trunk
68+
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_win_2021.3
5669

5770

5871
# Run all tests on weekly bases

0 commit comments

Comments
 (0)