|
1 | 1 | 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 |
15 | 15 |
|
16 | 16 | trunk_editor:
|
17 | 17 | - version: trunk
|
@@ -45,19 +45,18 @@ packages:
|
45 | 45 | all_package_tests:
|
46 | 46 | name: Run All Combinations of Editors/Platforms Tests
|
47 | 47 | 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 %} |
61 | 60 | triggers:
|
62 | 61 | cancel_old_ci: true
|
63 | 62 | recurring:
|
@@ -114,9 +113,9 @@ test_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
|
114 | 113 |
|
115 | 114 | {% if editor.enableCodeCoverage %}
|
116 | 115 | {% 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 %} |
120 | 119 | test_{{ package.name }}_{{ platform.name }}_trunk:
|
121 | 120 | name : {{ package.name }} test {{ editor.version }} on {{ platform.name }}
|
122 | 121 | agent:
|
|
0 commit comments