Simple PowerShell script for use in VMs to test PRs in the Windows Package Manager Community Repository. Does not require a clone of winget-pkgs.
Create a VM (Hyper-V recommended) and run:
irm https://raw.githubusercontent.com/UnownPlain/winget-pkgs-pr-test/HEAD/bootstrap.ps1 | iexRestart PowerShell, snapshot the VM and start testing:
PRTest {pr_number}