File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,21 @@ package_test_-_ngo_{{ editor }}_{{ platform.name }}:
1616 XRAY_PROFILE: "supported ./pvpExceptions.json"
1717 UNITY_EXT_LOGGING: 1
1818 commands:
19- - npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
2019 - unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
20+ # Platform specific UTR setup
21+ - |
22+ {% if platform.name == "win" %}
23+ curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
24+ {% else %}
25+ curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
26+ {% endif %}
27+
2128 # Validate packages.
2229 - upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --filter "com.unity.netcode.gameobjects" --results pvp-results
2330 - upm-pvp require {% if platform.name == "win" %}"%XRAY_PROFILE%"{% else %}"$XRAY_PROFILE"{% endif %} --results pvp-results
2431 # Run UTR to test packages.
2532 - upm-pvp create-test-project test-project --packages "upm-ci~/packages/*.tgz" --filter "com.unity.netcode.gameobjects" --unity .Editor
26- - {% if platform.name == "ubuntu" %}DISPLAY=:0 {% endif %} {% if platform.name != "win" %} ./ utr {% else %} UnifiedTestRunner {% endif %} --suite=editor --suite=playmode --editor-location=.Editor --testproject=test-project --artifacts-path=test-results "--ff={ops.upmpvpevidence.enable=true}" --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --reruncount=1 --clean-library-on-rerun
33+ - {% 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 --artifacts-path=test-results "--ff={ops.upmpvpevidence.enable=true}" --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --reruncount=1 --clean-library-on-rerun
2734 artifacts:
2835 logs:
2936 paths:
You can’t perform that action at this time.
0 commit comments