|
27 | 27 | - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u %EDITOR_VERSION% |
28 | 28 | {% if platform.name == "win" and category.name == "functional" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem;pathReplacePatterns:@*,,Library/PackageCache,Packages" --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Package --coverage-upload-options=\"reportsDir:upm-ci~/test-results/CodeCoverage/Package;name:{{platform.name}}_{{editor.version}}_pkg;flags:{{platform.name}}_{{editor.version}}_pkg\"" {% endif %} |
29 | 29 | {% if platform.installscript %} |
30 | | - - {{ unity_downloader_install }} |
31 | 30 | - {{ platform.installscript }} %EDITOR_VERSION% |
32 | 31 | {% endif %} |
33 | 32 | # ADBv2 on 2019.4 causes the test runner to not start on initial import when the |
|
79 | 78 | # Run upm-ci verification tests as well as tests contained in the package. |
80 | 79 | - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u $EDITOR_VERSION {% if category.name == "functional" and platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem;pathReplacePatterns:@*,,Library/PackageCache,Packages" --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package --coverage-upload-options=\"reportsDir:upm-ci~/test-results/CodeCoverage/Package;name:{{platform.name}}_{{editor.version}}_pkg;flags:{{platform.name}}_{{editor.version}}_pkg\"" {% endif %} |
81 | 80 | {% if platform.installscript %} |
82 | | - - {{ unity_downloader_install }} |
83 | 81 | - {{ platform.installscript }} $EDITOR_VERSION |
84 | 82 | {% endif %} |
85 | 83 | # ADBv2 on 2019.4 causes the test runner to not start on initial import when the |
@@ -120,7 +118,6 @@ build_ios_{{ editor.version }}_{{ category.name }}: |
120 | 118 | variables: |
121 | 119 | EDITOR_VERSION: {{ editor.version }} |
122 | 120 | commands: |
123 | | - - {{ unity_downloader_install }} |
124 | 121 | - unity-downloader-cli -c Editor -c iOS -u $EDITOR_VERSION --fast --wait |
125 | 122 | - UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=iOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} |
126 | 123 | after: |
@@ -167,7 +164,6 @@ build_tvos_{{ editor.version }}_{{ category.name }}: |
167 | 164 | variables: |
168 | 165 | EDITOR_VERSION: {{ editor.version }} |
169 | 166 | commands: |
170 | | - - {{ unity_downloader_install }} |
171 | 167 | - unity-downloader-cli -c Editor -c AppleTV -u $EDITOR_VERSION --fast --wait |
172 | 168 | - UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=tvOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} |
173 | 169 | after: |
@@ -216,7 +212,6 @@ build_android_{{ editor.version }}_{{ backend.name }}_{{ category.name }}: |
216 | 212 | variables: |
217 | 213 | EDITOR_VERSION: {{ editor.version }} |
218 | 214 | commands: |
219 | | - - {{ unity_downloader_install }} |
220 | 215 | - unity-downloader-cli -c Editor -c Android -u %EDITOR_VERSION% --fast --wait |
221 | 216 | - UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=Android --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --scripting-backend={{ backend.name }} --build-only --repository {% if category.name == "performance" %} --performance-project-id=InputSystem {% endif %} |
222 | 217 | after: |
|
0 commit comments