Skip to content

Commit 3f2a34c

Browse files
committed
Code coverage command corrected to use UTR
1 parent ea631b1 commit 3f2a34c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.yamato/code-coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ code_coverage_{{ platform.name }}_{{ editor }}:
1616
commands:
1717
- npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1818
- 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"
19+
- upm-pvp create-test-project test-project --packages "upm-ci~/packages/*.tgz" --unity .Editor
20+
- 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
2021
artifacts:
2122
logs:
2223
paths:
23-
- "upm-ci~/test-results/**/*"
24+
- "test-results/**/*"
2425
- "upm-ci~/test-results/CoverageResults/**/*"
2526
dependencies:
2627
- .yamato/package-pack.yml#package_pack_-_ngo_{{ platform.name }}

0 commit comments

Comments
 (0)