|
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 |
15 | | -{% endfor -%} |
16 | | -{% endif -%} |
17 | | -{% endfor -%} |
18 | | - |
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 }} |
25 | | -{% endfor -%} |
26 | | - - .yamato/project-tests.yml#test_{{ project.name }}_{{ editor }}_{{ platform.name }} |
27 | | -{% endif -%} |
28 | | -{% endfor -%} |
29 | | - |
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 -%} |
37 | | -{% endfor -%} |
38 | | -{% endfor -%} |
39 | | -{% endif -%} |
40 | | -{% endfor -%} |
41 | | -{% endfor -%} |
42 | 3 |
|
43 | | -run_all_tests_trunk: |
44 | | - name: Run All Package and Project Tests [Trunk] |
| 4 | +# Runs all package tests |
| 5 | +run_all_package_tests: |
| 6 | + name: Run All Package Tests |
45 | 7 | 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 }} |
| 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 }} |
52 | 11 | {% endfor -%} |
53 | | - - .yamato/project-tests.yml#test_{{ project.name }}_{{ editor }}_{{ platform.name }} |
54 | | -{% endif -%} |
55 | 12 | {% endfor -%} |
56 | 13 |
|
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 }} |
63 | | -{% endif -%} |
64 | | -{% endfor -%} |
65 | | -{% endfor -%} |
66 | | -{% endif -%} |
67 | | -{% endfor -%} |
68 | | -{% endfor -%} |
69 | 14 |
|
70 | | -all_project_tests: |
| 15 | +# Runs all projects tests |
| 16 | +run_all_project_tests: |
71 | 17 | name: Run All Project Tests |
72 | 18 | 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 }} |
| 19 | +{% for project in projects.all -%} |
| 20 | +{% if project.has_tests == "true" -%} |
| 21 | +{% for platform in test_platforms.desktop -%} |
| 22 | +{% for editor in validation_editors.all -%} |
| 23 | + - .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ editor }} |
78 | 24 | {% endfor -%} |
79 | 25 | {% endfor -%} |
| 26 | +{% endif -%} |
80 | 27 | {% endfor -%} |
81 | 28 |
|
82 | | -all_package_tests: |
83 | | - name: Run All Package Tests |
84 | | - 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 }} |
91 | | -{% endfor -%} |
92 | | -{% endfor -%} |
93 | | -{% endfor -%} |
94 | | -{% endfor -%} |
95 | 29 |
|
96 | | -# Test minimal project with different versions of dependencies |
97 | | -all_compatibility_tests: |
98 | | - name: Run All Compatibility Tests |
| 30 | +# Runs all project standards check |
| 31 | +run_all_projects_standards: |
| 32 | + name: Run All Projects Standards |
99 | 33 | 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 }} |
| 34 | +{% for platform in test_platforms.default -%} |
| 35 | +{% for project in projects.all -%} |
| 36 | +{% for editor in validation_editors.default -%} |
| 37 | + - .yamato/project-standards.yml#standards_{{ platform.name }}_{{ project.name }}_{{ editor }} |
106 | 38 | {% endfor -%} |
107 | 39 | {% endfor -%} |
108 | | -{% endif -%} |
109 | | -{% endfor -%} |
110 | 40 | {% endfor -%} |
111 | 41 |
|
112 | | -all_project_tests_standalone: |
113 | | - name: Run All Project Tests - Standalone |
| 42 | +run_all_webgl_builds: |
| 43 | + name: Run All WebGl Build |
114 | 44 | dependencies: |
115 | | -{% for platform in test_platforms -%} |
116 | | -{% for project in projects -%} |
117 | | -{% if project.has_tests == "true" -%} |
118 | | -{% for editor in project.test_editors -%} |
119 | | -{% for backend in scripting_backends -%} |
120 | | - - .yamato/standalone-project-tests.yml#standalone_tests_{{ project.name }}_{{ backend }}_{{ editor }}_{{ platform.name }} |
| 45 | +{% for project in projects.default -%} |
| 46 | +{% for platform in test_platforms.desktop -%} |
| 47 | +{% for editor in validation_editors.all -%} |
| 48 | + - .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform }}_{{ editor }} |
121 | 49 | {% endfor -%} |
122 | 50 | {% endfor -%} |
123 | | -{% endif -%} |
124 | | -{% endfor -%} |
125 | 51 | {% endfor -%} |
126 | 52 |
|
127 | | -all_project_tests_mobile: |
128 | | - name: Run All Project Tests - Mobile |
129 | | - dependencies: |
130 | | -{% for project in projects -%} |
131 | | -{% if project.name == "testproject" -%} |
132 | | -{% for editor in project.test_editors -%} |
133 | | - - .yamato/mobile-build-and-test.yml#run_{{ project.name }}_tests_{{ editor }}_android |
134 | | - - .yamato/mobile-build-and-test.yml#run_{{ project.name }}_tests_{{ editor }}_iOS |
135 | | -{% endfor -%} |
136 | | -{% endif -%} |
137 | | -{% endfor -%} |
138 | 53 |
|
139 | | -all_project_tests_webgl: |
140 | | - name: Build All Project Tests - WebGL |
141 | | - dependencies: |
142 | | -{% for project in projects -%} |
143 | | -{% if project.name == "testproject" -%} |
144 | | -{% for editor in project.test_editors -%} |
145 | | - - .yamato/webgl-build.yml#build_{{ project.name }}_tests_{{ editor }}_webgl |
146 | | -{% endfor -%} |
147 | | -{% endif -%} |
148 | | -{% endfor -%} |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | +#run_all_tests: |
| 63 | +# name: Run All Package and Project Tests |
| 64 | +# dependencies: |
| 65 | +# # Pull in package and validate jobs through the badges job |
| 66 | +# - .yamato/_triggers.yml#badges_test_trigger |
| 67 | +# - .yamato/mobile-build-and-test.yml#run_{{ projects.first.name }}_tests_{{ mobile_validation_editor }}_iOS |
| 68 | +# - .yamato/mobile-build-and-test.yml#run_{{ projects.first.name }}_tests_{{ mobile_validation_editor }}_android |
| 69 | +# # - .yamato/_run-all.yml#all_project_tests_standalone |
| 70 | +#{% for project in projects -%} |
| 71 | +#{% if project.name == "testproject" -%} |
| 72 | +#{% for editor in project.test_editors -%} |
| 73 | +# - .yamato/webgl-build.yml#build_{{ project.name }}_tests_{{ editor }}_webgl |
| 74 | +#{% endfor -%} |
| 75 | +#{% endif -%} |
| 76 | +#{% endfor -%} |
| 77 | +# |
| 78 | +#{% for platform in test_platforms -%} |
| 79 | +#{% for project in projects -%} |
| 80 | +#{% for editor in project.test_editors -%} |
| 81 | +#{% if editor != "trunk" -%} |
| 82 | +#{% for package in project.packages -%} |
| 83 | +# - .yamato/package-tests.yml#test_{{ project.name}}_{{ package.name }}_{{ editor }}_{{ platform.name }} |
| 84 | +#{% endfor -%} |
| 85 | +# - .yamato/project-tests.yml#test_{{ project.name }}_{{ editor }}_{{ platform.name }} |
| 86 | +#{% endif -%} |
| 87 | +#{% endfor -%} |
| 88 | +# |
| 89 | +### Test minimal project with different versions of dependencies |
| 90 | +#{% if project.name == "minimalproject" -%} |
| 91 | +#{% for dependency in dependencies -%} |
| 92 | +#{% for depeditor in dependency.test_editors -%} |
| 93 | +#{% if depeditor != "trunk" -%} |
| 94 | +# - .yamato/package-tests.yml#test_compatibility_{{ project.name }}_{{ project.packages.first.name }}_with_{{ dependency.name }}@{{ dependency.version }}_{{ depeditor }}_{{ platform.name }} |
| 95 | +#{% endif -%} |
| 96 | +#{% endfor -%} |
| 97 | +#{% endfor -%} |
| 98 | +#{% endif -%} |
| 99 | +#{% endfor -%} |
| 100 | +#{% endfor -%} |
| 101 | +# |
| 102 | +#run_all_tests_trunk: |
| 103 | +# name: Run All Package and Project Tests [Trunk] |
| 104 | +# dependencies: |
| 105 | +#{% for platform in test_platforms -%} |
| 106 | +#{% for project in projects -%} |
| 107 | +#{% for editor in project.test_editors -%} |
| 108 | +#{% if editor == "trunk" -%} |
| 109 | +#{% for package in project.packages -%} |
| 110 | +# - .yamato/package-tests.yml#test_{{ project.name}}_{{ package.name }}_{{ editor }}_{{ platform.name }} |
| 111 | +#{% endfor -%} |
| 112 | +# - .yamato/project-tests.yml#test_{{ project.name }}_{{ editor }}_{{ platform.name }} |
| 113 | +#{% endif -%} |
| 114 | +#{% endfor -%} |
| 115 | +# |
| 116 | +### Test minimal project with different versions of dependencies on trunk |
| 117 | +#{% if project.name == "minimalproject" -%} |
| 118 | +#{% for dependency in dependencies -%} |
| 119 | +#{% for depeditor in dependency.test_editors -%} |
| 120 | +#{% if depeditor == "trunk" -%} |
| 121 | +# - .yamato/package-tests.yml#test_compatibility_{{ project.name }}_{{ project.packages.first.name }}_with_{{ dependency.name }}@{{ dependency.version }}_{{ depeditor }}_{{ platform.name }} |
| 122 | +#{% endif -%} |
| 123 | +#{% endfor -%} |
| 124 | +#{% endfor -%} |
| 125 | +#{% endif -%} |
| 126 | +#{% endfor -%} |
| 127 | +#{% endfor -%} |
| 128 | +# |
| 129 | + |
| 130 | +# |
| 131 | +## Test minimal project with different versions of dependencies |
| 132 | +#all_compatibility_tests: |
| 133 | +# name: Run All Compatibility Tests |
| 134 | +# dependencies: |
| 135 | +#{% for platform in test_platforms -%} |
| 136 | +#{% for project in projects -%} |
| 137 | +#{% if project.name == "minimalproject" -%} |
| 138 | +#{% for dependency in dependencies -%} |
| 139 | +#{% for editor in dependency.test_editors -%} |
| 140 | +# - .yamato/package-tests.yml#test_compatibility_{{ project.name }}_{{ project.packages.first.name }}_with_{{ dependency.name }}@{{ dependency.version }}_{{ editor }}_{{ platform.name }} |
| 141 | +#{% endfor -%} |
| 142 | +#{% endfor -%} |
| 143 | +#{% endif -%} |
| 144 | +#{% endfor -%} |
| 145 | +#{% endfor -%} |
| 146 | +# |
| 147 | +#all_project_tests_desktop_standalone: |
| 148 | +# name: Run All Project Tests - Desktop Standalone |
| 149 | +# dependencies: |
| 150 | +#{% for platform in test_platforms -%} |
| 151 | +#{% for project in projects -%} |
| 152 | +#{% if project.has_tests == "true" -%} |
| 153 | +#{% for editor in project.test_editors -%} |
| 154 | +#{% for backend in scripting_backends -%} |
| 155 | +# - .yamato/standalone-project-tests.yml#standalone_tests_{{ project.name }}_{{ backend }}_{{ editor }}_{{ platform.name }} |
| 156 | +#{% endfor -%} |
| 157 | +#{% endfor -%} |
| 158 | +#{% endif -%} |
| 159 | +#{% endfor -%} |
| 160 | +#{% endfor -%} |
| 161 | +# |
| 162 | +#all_project_tests_mobile: |
| 163 | +# name: Run All Project Tests - Mobile |
| 164 | +# dependencies: |
| 165 | +#{% for project in projects -%} |
| 166 | +#{% if project.name == "testproject" -%} |
| 167 | +#{% for editor in project.test_editors -%} |
| 168 | +# - .yamato/mobile-build-and-test.yml#run_{{ project.name }}_tests_{{ editor }}_android |
| 169 | +# - .yamato/mobile-build-and-test.yml#run_{{ project.name }}_tests_{{ editor }}_iOS |
| 170 | +#{% endfor -%} |
| 171 | +#{% endif -%} |
| 172 | +#{% endfor -%} |
| 173 | +# |
| 174 | + |
0 commit comments