Skip to content

Commit ea33189

Browse files
committed
Moved pvpExceptions file and modified pack and test commands
1 parent 5201aa2 commit ea33189

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

.yamato/package-pack.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ package_pack_-_ngo_{{ platform.name }}:
1212
image: {{ platform.image }}
1313
flavor: {{ platform.flavor }}
1414
timeout: 0.25
15+
variables:
16+
XRAY_PROFILE: "supported ./pvpExceptions.json"
1517
commands:
16-
- npm install -g upm-ci-utils@stable --registry https://artifactory.prd.it.unity3d.com/artifactory/api/npm/upm-npm
17-
- upm-ci package pack --package-path com.unity.netcode.gameobjects
18-
- upm-pvp xray --packages "upm-ci~/packages/*.tgz" --results upm-ci~/xray
19-
- upm-pvp require "supported rme com.unity.netcode.gameobjects/pvpExceptions.json" --allow-missing --results upm-ci~/xray --exemptions upm-ci~/xray/new-exemptions.json
18+
- upm-pvp pack "com.unity.netcode.gameobjects" --output upm-ci~/packages
19+
- upm-pvp xray --packages "upm-ci~/packages/com.unity.netcode.gameobjects*.tgz" --results pvp-results
20+
- upm-pvp require {% if platform.name == "win" %}"%XRAY_PROFILE%"{% else %}"$XRAY_PROFILE"{% endif %} --results pvp-results --allow-missing
2021
artifacts:
2122
packages:
2223
paths:

.yamato/package-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,18 @@ package_test_-_ngo_{{ editor }}_{{ platform.name }}:
1212
type: {{ platform.type }}
1313
image: {{ platform.image }}
1414
flavor: {{ platform.flavor }}
15+
variables:
16+
XRAY_PROFILE: "supported ./pvpExceptions.json"
17+
UNITY_EXT_LOGGING: 1
1518
commands:
1619
- npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1720
- unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
18-
- {% if platform.name == "ubuntu" %}DISPLAY=:0 {% endif %}upm-ci package test -u {{ editor }} --package-path com.unity.netcode.gameobjects --type package-tests --extra-utr-arg="--extra-editor-arg=-testCategory --extra-editor-arg=!Performance --reruncount=1 --clean-library-on-rerun"
21+
# Validate packages.
22+
- upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --filter "com.unity.netcode.gameobjects" --results pvp-results
23+
- upm-pvp require {% if platform.name == "win" %}"%XRAY_PROFILE%"{% else %}"$XRAY_PROFILE"{% endif %} --results pvp-results
24+
# Run UTR to test packages.
25+
- 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
1927
artifacts:
2028
logs:
2129
paths:
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)