mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 10:28:10 +08:00
updated tests
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
Describe "PipxPackages" {
|
Describe "PipxPackages" {
|
||||||
$pipxToolset = (Get-ToolsetContent).pipx
|
$pipxToolset = (Get-ToolsetContent).pipx
|
||||||
foreach($tool in $pipxToolset) {
|
$testCases = $pipxToolset | ForEach-Object { @{package = $_.package; cmd = $_.cmd} }
|
||||||
It "${tool.package}" {
|
It "<package>" -TestCases $testCases {
|
||||||
"${tool.cmd}" | Should -ReturnZeroExitCode
|
"$cmd" | Should -ReturnZeroExitCode
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user