Skip to content

Commit ae99d48

Browse files
committed
Added utr import
1 parent 4411cd2 commit ae99d48

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.yamato/code-coverage.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ code_coverage_{{ platform.name }}_{{ editor }}:
1515
flavor: {{ platform.flavor }}
1616
commands:
1717
- unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
18+
# Platform specific UTR setup
19+
- |
20+
{% if platform.name == "win" %}
21+
curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
22+
{% else %}
23+
curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
24+
{% endif %}
25+
1826
- upm-pvp create-test-project test-project --packages "upm-ci~/packages/*.tgz" --filter "com.unity.netcode.gameobjects" --unity .Editor
1927
- {% if platform.name == "ubuntu" %}DISPLAY=:0 {% endif %} {% if platform.name == "win" %} utr.bat {% else %} ./utr {% endif %} --suite=editor --suite=playmode --editor-location=.Editor --testproject=test-project --enable-code-coverage --coverage-options 'generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.Netcode.Editor,+Unity.Netcode.Runtime' --artifacts-path=test-results --extra-editor-arg=--burst-disable-compilation --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --timeout=1800 --reruncount=1 --clean-library-on-rerun
2028
artifacts:

0 commit comments

Comments
 (0)