Skip to content

Commit

Permalink
Corrected utr command
Browse files Browse the repository at this point in the history
  • Loading branch information
michalChrobot committed Feb 14, 2025
1 parent 6e89ca0 commit db9ff9e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .yamato/package-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,21 @@ package_test_-_ngo_{{ editor }}_{{ platform.name }}:
XRAY_PROFILE: "supported ./pvpExceptions.json"
UNITY_EXT_LOGGING: 1
commands:
- npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
# Platform specific UTR setup
- |
{% if platform.name == "win" %}
curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
{% else %}
curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
{% endif %}

# Validate packages.
- upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --filter "com.unity.netcode.gameobjects" --results pvp-results
- upm-pvp require {% if platform.name == "win" %}"%XRAY_PROFILE%"{% else %}"$XRAY_PROFILE"{% endif %} --results pvp-results
# Run UTR to test packages.
- upm-pvp create-test-project test-project --packages "upm-ci~/packages/*.tgz" --filter "com.unity.netcode.gameobjects" --unity .Editor
- {% 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
- {% 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
artifacts:
logs:
paths:
Expand Down

0 comments on commit db9ff9e

Please sign in to comment.