1- test_editors :
1+ blocking_test_editors :
22 - version : 2019.1.14f1
3+ nonblocking_test_editors :
4+ - version : 2019.3.0f6
5+ - version : 2019.4
6+ - version : 2020.1
7+ - version : 2020.2
38test_platforms :
49 - name : win
510 type : Unity::VM
@@ -11,7 +16,27 @@ test_platforms:
1116 flavor : m1.mac
1217---
1318
14- {% for editor in test_editors %}
19+ {% for editor in blocking_test_editors %}
20+ {% for platform in test_platforms %}
21+ test_{{ platform.name }}_{{ editor.version }} :
22+ name : Test {{ editor.version }} on {{ platform.name }}
23+ agent :
24+ type : {{ platform.type }}
25+ image : {{ platform.image }}
26+ flavor : {{ platform.flavor}}
27+ commands :
28+ - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
29+ - {% if platform.name == "centos" %}DISPLAY=:0 {% endif %}upm-ci package test -u {{ editor.version }} --package-path . --type package-tests
30+ artifacts :
31+ logs :
32+ paths :
33+ - " upm-ci~/test-results/**/*"
34+ dependencies :
35+ - .yamato/pack.yml#pack
36+ {% endfor %}
37+ {% endfor %}
38+
39+ {% for editor in nonblocking_test_editors %}
1540{% for platform in test_platforms %}
1641test_{{ platform.name }}_{{ editor.version }} :
1742 name : Test {{ editor.version }} on {{ platform.name }}
@@ -33,7 +58,7 @@ test_{{ platform.name }}_{{ editor.version }}:
3358
3459# Validate the package on each editor version and each platform
3560# Validation only occurs in editmode.
36- {% for editor in test_editors %}
61+ {% for editor in blocking_test_editors %}
3762{% for platform in test_platforms %}
3863validate_{{ platform.name }}_{{ editor.version }} :
3964 name : Validate {{ editor.version }} on {{ platform.name }}
@@ -65,9 +90,14 @@ test_trigger:
6590 - " /.*/"
6691 dependencies :
6792 - .yamato/pack.yml#pack
68- {% for editor in test_editors %}
93+ {% for editor in blocking_test_editors %}
6994 {% for platform in test_platforms %}
7095 - .yamato/test.yml#test_{{platform.name}}_{{editor.version}}
7196 - .yamato/test.yml#validate_{{platform.name}}_{{editor.version}}
7297 {% endfor %}
7398 {% endfor %}
99+ {% for editor in nonblocking_test_editors %}
100+ {% for platform in test_platforms %}
101+ - .yamato/test.yml#test_{{platform.name}}_{{editor.version}}
102+ {% endfor %}
103+ {% endfor %}
0 commit comments