Skip to content

Commit 637c89b

Browse files
committed
Modified Code Coverage job to use upm-pvp instead of upm-ci
1 parent 92bc678 commit 637c89b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.yamato/code-coverage.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ 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-
- DISPLAY=:0 upm-ci package test -u {{ editor }} --package-path com.unity.netcode.gameobjects --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" --unity .Editor
19+
- UnifiedTestRunner --suite=editor --suite=playmode --editor-location=.Editor --testproject=test-project --enable-code-coverage --code-coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.Netcode.Editor,+Unity.Netcode.Runtime" --extra-editor-arg=--burst-disable-compilation --extra-editor-arg=testCategory --extra-editor-arg=!Performance --timeout=1800 --reruncount=1 --clean-library-on-rerun --artifacts-path=test-results
2020
artifacts:
2121
logs:
2222
paths:
23-
- "upm-ci~/test-results/**/*"
24-
- "upm-ci~/test-results/CoverageResults/**/*"
23+
- "test-results/**/*"
24+
- "test-results/CodeCoverage/**/*"
25+
- "test-results/CoverageResults/**/*"
26+
- "**/**/*"
2527
dependencies:
2628
- .yamato/package-pack.yml#package_pack_-_ngo_{{ platform.name }}
2729
{% endfor -%}

0 commit comments

Comments
 (0)