Skip to content

Commit acb9987

Browse files
committed
Update yml formatting.
1 parent 2b97a9b commit acb9987

File tree

1 file changed

+28
-29
lines changed

1 file changed

+28
-29
lines changed

.yamato/com.unity.ml-agents-test.yml

+28-29
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
test_editors:
2-
- version: 2019.4
3-
enableCodeCoverage: !!bool true
4-
# We want some scene tests to run in the DevProject, but packages there only support 2020+
5-
testProject: Project
6-
enableNoDefaultPackages: !!bool true
7-
- version: 2020.2
8-
enableCodeCoverage: !!bool true
9-
testProject: DevProject
10-
enableNoDefaultPackages: !!bool true
11-
- version: 2021.1
12-
enableCodeCoverage: !!bool true
13-
testProject: DevProject
14-
enableNoDefaultPackages: !!bool true
2+
- version: 2019.4
3+
enableCodeCoverage: !!bool true
4+
# We want some scene tests to run in the DevProject, but packages there only support 2020+
5+
testProject: Project
6+
enableNoDefaultPackages: !!bool true
7+
- version: 2020.2
8+
enableCodeCoverage: !!bool true
9+
testProject: DevProject
10+
enableNoDefaultPackages: !!bool true
11+
- version: 2021.1
12+
enableCodeCoverage: !!bool true
13+
testProject: DevProject
14+
enableNoDefaultPackages: !!bool true
1515

1616
trunk_editor:
1717
- version: trunk
@@ -45,19 +45,18 @@ packages:
4545
all_package_tests:
4646
name: Run All Combinations of Editors/Platforms Tests
4747
dependencies:
48-
- .yamato/com.unity.ml-agents-coverage.yml#test_coverage_com.unity.ml-agents_linux_2019.4
49-
- .yamato/com.unity.ml-agents-coverage.yml#test_coverage_com.unity.ml-agents.extensions_linux_2019.4
50-
{% for editor in test_editors %}
51-
{% for platform in test_platforms %}
52-
- .yamato/com.unity.ml-agents-test.yml#test_com.unity.ml-agents_{{ platform.name }}_{{ editor.version }}
53-
{% endfor %}
54-
{% endfor %}
55-
56-
{% for editor in trunk_editor %}
57-
{% for platform in test_platforms %}
58-
- .yamato/com.unity.ml-agents-test.yml#test_com.unity.ml-agents_{{ platform.name }}_{{ editor.version }}
59-
{% endfor %}
60-
{% endfor %}
48+
- .yamato/com.unity.ml-agents-coverage.yml#test_coverage_com.unity.ml-agents_linux_2019.4
49+
- .yamato/com.unity.ml-agents-coverage.yml#test_coverage_com.unity.ml-agents.extensions_linux_2019.4
50+
{% for editor in test_editors %}
51+
{% for platform in test_platforms %}
52+
- .yamato/com.unity.ml-agents-test.yml#test_com.unity.ml-agents_{{ platform.name }}_{{ editor.version }}
53+
{% endfor %}
54+
{% endfor %}
55+
{% for editor in trunk_editor %}
56+
{% for platform in test_platforms %}
57+
- .yamato/com.unity.ml-agents-test.yml#test_com.unity.ml-agents_{{ platform.name }}_{{ editor.version }}
58+
{% endfor %}
59+
{% endfor %}
6160
triggers:
6261
cancel_old_ci: true
6362
recurring:
@@ -114,9 +113,9 @@ test_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
114113

115114
{% if editor.enableCodeCoverage %}
116115
{% capture coverageOptions %} --enable-code-coverage --code-coverage-options 'generateHtmlReport;assemblyFilters:+{{ package.assembly }}'{% endcapture %}
117-
{% else %}
118-
{% assign coverageOptions = "" %}
119-
{% endif %}
116+
{% else %}
117+
{% assign coverageOptions = "" %}
118+
{% endif %}
120119
test_{{ package.name }}_{{ platform.name }}_trunk:
121120
name : {{ package.name }} test {{ editor.version }} on {{ platform.name }}
122121
agent:

0 commit comments

Comments
 (0)