Skip to content

Commit 128c1a0

Browse files
committed
Added removal of ValidationExceptions for test using upm-pvp
1 parent f3f723b commit 128c1a0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.yamato/package-pack.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ package_pack_-_ngo_{{ platform.name }}:
3737
variables:
3838
XRAY_PROFILE: "supported ./pvpExceptions.json"
3939
commands:
40+
# Remove ValidationExceptions.json and its .meta file if they exist. For this specific test it's necessary (otherwise we want to keep them since we use those for release).
41+
- rm -f Packages/com.unity.netcode.gameobjects/ValidationExceptions.json
42+
- rm -f Packages/com.unity.netcode.gameobjects/ValidationExceptions.json.meta
43+
4044
- upm-pvp pack "com.unity.netcode.gameobjects" --output upm-ci~/packages
4145
- upm-pvp xray --packages "upm-ci~/packages/com.unity.netcode.gameobjects*.tgz" --results pvp-results
4246
- upm-pvp require {% if platform.name == "win" %}"%XRAY_PROFILE%"{% else %}"$XRAY_PROFILE"{% endif %} --results pvp-results --allow-missing

com.unity.netcode.gameobjects/ValidationExceptions.json.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)