Skip to content

Commit 97ae6b3

Browse files
committed
Update upm-ci.yml
1 parent 0bae218 commit 97ae6b3

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.yamato/upm-ci.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@
6666
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
6767
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
6868
# Run upm-ci verification tests as well as tests contained in the package.
69-
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }}
70-
{% if platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem"
71-
--extra-utr-arg="--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %}
69+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }} {% if platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %}
7270
{% if platform.installscript %}
7371
- {{ unity_downloader_install }}
7472
- {{ platform.installscript }} {{ editor.version }}
@@ -78,14 +76,7 @@
7876
- mv ./Packages/com.unity.inputsystem/Samples ./Assets
7977
- mv ./Packages/com.unity.inputsystem/Samples.meta ./Assets
8078
# Now run our full test suite that sits in Assets/Tests by running UTR on our project.
81-
- ./utr --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode
82-
{% if platform.name == "mac" or platform.name == "linux"%} --suite=editor {% endif %}
83-
{% if category.name == "performance" %} --category=Performance {% endif %} --api-profile=NET_4_6
84-
{% if platform.runtime %} --platform {{ platform.runtime }} {% endif %}
85-
{% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %}
86-
--report-performance-data --performance-project-id=InputSystem
87-
{% if platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem"
88-
--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Project {% endif %}
79+
- ./utr --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode {% if platform.name == "mac" or platform.name == "linux"%} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} --report-performance-data --performance-project-id=InputSystem {% if platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Project {% endif %}
8980
after:
9081
- {{ instabilities_install_nix }}
9182
- {{ platform.instabilities_run }}

0 commit comments

Comments
 (0)