Skip to content

Commit 21726c7

Browse files
authored
CHANGE: Update ci to use new Package Verification Profile to generate errors (#1965)
* added new PVP execution to "Publish to Internal Registry (Dry Run)" yamato job * added .\yamato\PVPexemptions.json file that includes all the errors the package currently generates * any new errors will fail this job and you can see the report in the results tab of the job in yamato * our grandfathered exemptsions being added to the system at https://github.cds.internal.unity3d.com/unity/pets.pvp-catalog/pull/23 * also fixed 2 small error categories as part of this PR (trainling spaces, wrong meta files) * PVP-40-1 will complain about [Unreleased] in our changelog but won't be a problem on stable branch where that section will not exist during our package release
1 parent 65357c2 commit 21726c7

21 files changed

Lines changed: 1607 additions & 24 deletions

File tree

.yamato/PVPexemptions.json

Lines changed: 1588 additions & 0 deletions
Large diffs are not rendered by default.

.yamato/upm-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ publish{% cycle "", "_dryrun" %}:
247247
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
248248
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.4
249249
- upm-ci package publish --package-path ./Packages/com.unity.inputsystem/ {% cycle "", "--dry-run" %}
250+
- upm-pvp xray --packages "upm-ci~/packages/*.tgz" --results upm-ci~/xray
251+
- upm-pvp require "supported rme" --no-report --allow-missing --results upm-ci~/xray --exemptions upm-ci~/xray/new-exemptions.json
252+
- upm-pvp require "supported rme ./.yamato/PVPexemptions.json" --allow-missing --results upm-ci~/xray
250253
artifacts:
251254
artifacts:
252255
paths:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"displayName": "Custom Binding Composite",
33
"description": "Shows how to implement a custom composite binding."
4-
}
4+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"displayName": "Custom Device",
33
"description": "Shows how to implement a custom input device."
4-
}
4+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"displayName": "Custom Device Usages",
33
"description": "Shows how to tag devices with custom usage strings that can be used, for example, to distinguish multiple instances of the same type of device (e.g. 'Gamepad') based on how the device is used (e.g. 'Player1' vs 'Player2' or 'LeftHand' vs 'RightHand')."
4-
}
4+
}

Assets/Samples/CustomDeviceUsages/.sample.json.meta

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"displayName": "Gamepad Mouse Cursor",
33
"description": "An example that shows how to use the gamepad for driving a mouse cursor for use with UIs."
4-
}
4+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"displayName": "In-Game Hints",
33
"description": "Demonstrates how to create in-game hints in the UI which reflect current bindings and active control schemes."
4-
}
4+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"displayName": "InputDeviceTester",
33
"description": "A scene containing UI to visualize the controls on various supported input devices."
4-
}
4+
}

Assets/Samples/InputDeviceTester/.sample.json.meta

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)