| 
23 | 23 |     - move /Y .\Assets\Samples.meta .\Packages\com.unity.inputsystem  | 
24 | 24 |     - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/  | 
25 | 25 |     # Run upm-ci verification tests as well as tests contained in the package.  | 
26 |  | -    - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }}  | 
 | 26 | +    - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }}   | 
 | 27 | +      {% if platform.name == "win" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem"   | 
 | 28 | +      --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %}  | 
27 | 29 |     {% if platform.installscript %}  | 
28 | 30 |     - {{ unity_downloader_install }}  | 
29 | 31 |     - {{ platform.installscript }} {{ editor.version }}  | 
 | 
33 | 35 |     - move /Y .\Packages\com.unity.inputsystem\Samples .\Assets  | 
34 | 36 |     - move /Y .\Packages\com.unity.inputsystem\Samples.meta .\Assets  | 
35 | 37 |     # Now run our full test suite that sits in Assets/Tests by running UTR on our project.  | 
36 |  | -    - ./utr --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode {% if platform.name == "win" %} --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  | 
 | 38 | +    - ./utr --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode {% if platform.name == "win" %} --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 == "win" %}--enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Project {% endif %}  | 
37 | 39 |   after:  | 
38 | 40 |     - {{ instabilities_install_win }}  | 
39 | 41 |     - {{ instabilities_run_win }}    | 
 | 
64 | 66 |     - mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem  | 
65 | 67 |     - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/  | 
66 | 68 |     # Run upm-ci verification tests as well as tests contained in the package.  | 
67 |  | -    - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }}  | 
 | 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 %}  | 
68 | 70 |     {% if platform.installscript %}  | 
69 | 71 |     - {{ unity_downloader_install }}  | 
70 | 72 |     - {{ platform.installscript }} {{ editor.version }}  | 
 | 
74 | 76 |     - mv ./Packages/com.unity.inputsystem/Samples ./Assets  | 
75 | 77 |     - mv ./Packages/com.unity.inputsystem/Samples.meta ./Assets  | 
76 | 78 |     # Now run our full test suite that sits in Assets/Tests by running UTR on our project.  | 
77 |  | -    - ./utr --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode {% if platform.name == "mac" %} --suite=editor {% endif %} {% if 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  | 
 | 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 %}  | 
78 | 80 |   after:  | 
79 | 81 |     - {{ instabilities_install_nix }}  | 
80 | 82 |     - {{ platform.instabilities_run }}  | 
 | 
0 commit comments