mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
* postdotnet: delete nuget.conf if exists * rename to $nugetConfigPath * add nuget.config check test * remove issue link
117 lines
2.2 KiB
PowerShell
117 lines
2.2 KiB
PowerShell
Describe "7-Zip" {
|
|
It "7z" {
|
|
"7z" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Aria2" {
|
|
It "Aria2" {
|
|
"aria2c --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "AzCopy" {
|
|
It "AzCopy" {
|
|
"azcopy --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Bicep" {
|
|
It "Bicep" {
|
|
"bicep --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "GitVersion" -Skip:(Test-IsWin22) {
|
|
It "gitversion is installed" {
|
|
"gitversion /version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "InnoSetup" -Skip:(Test-IsWin22) {
|
|
It "InnoSetup" {
|
|
(Get-Command -Name iscc).CommandType | Should -BeExactly "Application"
|
|
}
|
|
}
|
|
|
|
Describe "Jq" {
|
|
It "Jq" {
|
|
"jq -n ." | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Nuget" {
|
|
It "Nuget" {
|
|
"nuget" | Should -ReturnZeroExitCode
|
|
}
|
|
It "NuGet.Config not exists" {
|
|
"$env:APPDATA\NuGet\NuGet.Config" | Should -Not -Exist
|
|
}
|
|
}
|
|
|
|
Describe "OpenSSL" {
|
|
It "OpenSSL" {
|
|
"openssl version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Packer" {
|
|
It "Packer" {
|
|
"packer --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Perl" -Skip:(Test-IsWin22) {
|
|
It "Perl" {
|
|
"perl --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Pulumi" {
|
|
It "pulumi" {
|
|
"pulumi version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Svn" {
|
|
It "svn" {
|
|
"svn --version --quiet" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Swig" {
|
|
It "Swig" {
|
|
"swig -version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "VSWhere" {
|
|
It "vswhere" {
|
|
"vswhere" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Julia" {
|
|
It "Julia path exists" {
|
|
"C:\Julia" | Should -Exist
|
|
}
|
|
|
|
It "Julia" {
|
|
"julia --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "CMake" {
|
|
It "cmake" {
|
|
"cmake --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Kotlin" {
|
|
$kotlinPackages = @("kotlinc", "kotlinc-js", "kotlinc-jvm")
|
|
|
|
It "<toolName> is available" -TestCases ($kotlinPackages | ForEach-Object { @{ toolName = $_ } }) {
|
|
"$toolName -version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|