|
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 }} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --extra-utr-arg="--coverage-results-path=%YAMATO_SOURCE_DIR%/upm-ci~/test-results/CodeCoverage/Package" |
| 26 | + - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }} |
| 27 | + --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" |
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 --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path=%YAMATO_SOURCE_DIR%/upm-ci~/test-results/CodeCoverage/Project |
| 38 | + - ./utr --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests |
| 39 | + --suite=playmode {% if platform.name == "win" %} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% endif %} |
| 40 | + --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} |
| 41 | + {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} |
| 42 | + --report-performance-data --performance-project-id=InputSystem |
| 43 | + {% if platform.name == "win" %} --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" |
| 44 | + --coverage-results-path=yamato_source_dir_win/upm-ci~/test-results/CodeCoverage/Project {% endif %} |
37 | 45 | after: |
38 | 46 | - {{ instabilities_install_win }} |
39 | 47 | - {{ instabilities_run_win }} |
|
64 | 72 | - mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem |
65 | 73 | - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/ |
66 | 74 | # 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 }} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --extra-utr-arg="--coverage-results-path=%YAMATO_SOURCE_DIR%/upm-ci~/test-results/CodeCoverage/Package" |
| 75 | + - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }} |
| 76 | + --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" |
| 77 | + --extra-utr-arg="--coverage-results-path=yamato_source_dir_nix/upm-ci~/test-results/CodeCoverage/Package" |
68 | 78 | {% if platform.installscript %} |
69 | 79 | - {{ unity_downloader_install }} |
70 | 80 | - {{ platform.installscript }} {{ editor.version }} |
|
74 | 84 | - mv ./Packages/com.unity.inputsystem/Samples ./Assets |
75 | 85 | - mv ./Packages/com.unity.inputsystem/Samples.meta ./Assets |
76 | 86 | # 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 --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path=%YAMATO_SOURCE_DIR%/upm-ci~/test-results/CodeCoverage/Project |
| 87 | + - ./utr --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode |
| 88 | + {% if platform.name == "mac" or platform.name == "linux"%} --suite=editor {% endif %} |
| 89 | + {% if category.name == "performance" %} --category=Performance {% endif %} --api-profile=NET_4_6 |
| 90 | + {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} |
| 91 | + {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} |
| 92 | + --report-performance-data --performance-project-id=InputSystem |
| 93 | + {% if platform.name == "mac" or platform.name == "linux" %}--enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" |
| 94 | + --coverage-results-path=yamato_source_dir_nix/upm-ci~/test-results/CodeCoverage/Project {% endif %} |
78 | 95 | after: |
79 | 96 | - {{ instabilities_install_nix }} |
80 | 97 | - {{ platform.instabilities_run }} |
|
0 commit comments