11{% metadata_file .yamato_config/config.yml %}
22---
3- {% for package in packages %}
4- {% for editor in editors %}
5- {% for platform in platforms %}
6- test_{{ package.safename }}_{{ platform.name }}_{{ editor.version }} :
7- name : Test {{ package.name }} {{ editor.version }} on {{ platform.name }}
3+ {% for editor in test_editors %}
4+ {% for platform in test_platforms %}
5+ test_{{ platform.name }}_{{ editor.version }} :
6+ name : Test {{ editor.version }} on {{ platform.name }}
87 agent :
98 type : {{ platform.type }}
109 image : {{ platform.image }}
@@ -13,9 +12,10 @@ test_{{ package.safename }}_{{ platform.name }}_{{ editor.version }}:
1312 DOTNET_CLI_TELEMETRY_OPTOUT : 1
1413
1514 commands :
16- - |
17- npm install upm-ci-utils@stable -g --registry https://api.bintray.com/npm/unity/unity-npm
18- upm-ci package test --package-path build\upm\{{ package.name }} -u {{editor.version}}
15+ - npm install upm-ci-utils@stable -g --registry https://api.bintray.com/npm/unity/unity-npm
16+ {% for package in packages %}
17+ - upm-ci package test --package-path build\upm\{{ package.name }} -u {{editor.version}}
18+ {% endfor %}
1919
2020 dependencies :
2121 - .yamato/build.yml#build
@@ -26,16 +26,13 @@ test_{{ package.safename }}_{{ platform.name }}_{{ editor.version }}:
2626 - " upm-ci~/test-results/**/*"
2727{% endfor %}
2828{% endfor %}
29- {% endfor %}
3029
3130test_trigger :
3231 name : Build and Test All
3332 dependencies :
34- {% for package in packages %}
35- {% for editor in editors %}
36- {% for platform in platforms %}
37- - .yamato/test.yml#test_{{ package.safename }}_{{platform.name}}_{{editor.version}}
38- {% endfor %}
33+ {% for editor in test_editors %}
34+ {% for platform in test_platforms %}
35+ - .yamato/test.yml#test_{{platform.name}}_{{editor.version}}
3936 {% endfor %}
4037 {% endfor %}
4138 triggers :
0 commit comments