mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
13 lines
396 B
PowerShell
13 lines
396 B
PowerShell
|
|
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
|
|
|
|
$os = Get-OSVersion
|
|
|
|
Describe "PipxPackages" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
|
|
$pipxToolset = (Get-ToolsetContent).pipx
|
|
$testCases = $pipxToolset | ForEach-Object { @{package = $_.package; cmd = $_.cmd} }
|
|
It "<package>" -TestCases $testCases {
|
|
"$cmd" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|