Skip to content

Commit 4d19ca2

Browse files
committed
Exchanged upm-ci with upm-pvp for code coverage test
1 parent ff8f690 commit 4d19ca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.yamato/code-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ code_coverage_{{ platform.name }}_{{ editor }}:
1414
image: {{ platform.image }}
1515
flavor: {{ platform.flavor }}
1616
commands:
17-
- npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1817
- unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
19-
- {% if platform.name == "ubuntu" %}DISPLAY=:0 {% endif %} upm-ci package test -u {{ editor }} --package-path upm-ci~/packages/com.unity.netcode.gameobjects.tgz --enable-code-coverage --code-coverage-options 'generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.Netcode.Editor,+Unity.Netcode.Runtime' --extra-utr-arg="--extra-editor-arg=--burst-disable-compilation --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --timeout=1800 --reruncount=1 --clean-library-on-rerun"
18+
- upm-pvp create-test-project test-project --packages "upm-ci~/packages/*.tgz" --filter "com.unity.netcode.gameobjects" --unity .Editor
19+
- {% if platform.name == "ubuntu" %}DISPLAY=:0 {% endif %} upm-pvp test --unity .Editor --project test-project --enable-code-coverage --coverage-options 'generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.Netcode.Editor,+Unity.Netcode.Runtime' --test-options="--extra-editor-arg=--burst-disable-compilation --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --timeout=1800 --reruncount=1 --clean-library-on-rerun"
2020
artifacts:
2121
logs:
2222
paths:

0 commit comments

Comments
 (0)