Skip to content

Commit 6185a1d

Browse files
committed
add separate list of editors to test when publishing vs on a PR
1 parent a9ce452 commit 6185a1d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.yamato/upm-ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
editors:
1+
test_trigger_editors:
2+
- version: 2018.4
3+
- version: 2019.3
4+
publish_editors:
25
- version: 2018.3
36
- version: 2018.4
47
- version: 2019.1
58
- version: 2019.2
69
- version: 2019.3
10+
- version: 2020.1
711
platforms:
812
- name: win
913
type: Unity::VM
@@ -30,7 +34,7 @@ pack:
3034
- "upm-ci~/**/*"
3135

3236

33-
{% for editor in editors %}
37+
{% for editor in test_trigger_editors %}
3438
{% for platform in platforms %}
3539
test_{{ platform.name }}_{{ editor.version }}:
3640
name : Test version {{ editor.version }} on {{ platform.name }}
@@ -63,7 +67,7 @@ test_trigger:
6367
- master
6468
dependencies:
6569
- .yamato/upm-ci.yml#pack
66-
{% for editor in editors %}
70+
{% for editor in test_trigger_editors %}
6771
{% for platform in platforms %}
6872
- .yamato/upm-ci.yml#test_{{platform.name}}_{{editor.version}}
6973
{% endfor %}
@@ -88,7 +92,7 @@ publish:
8892
- "upm-ci~/packages/*.tgz"
8993
dependencies:
9094
- .yamato/upm-ci.yml#pack
91-
{% for editor in editors %}
95+
{% for editor in publish_editors %}
9296
{% for platform in platforms %}
9397
- .yamato/upm-ci.yml#test_{{ platform.name }}_{{ editor.version }}
9498
{% endfor %}

0 commit comments

Comments
 (0)