mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
* add windows2022 image template Co-authored-by: Aleksandr Chebotov <v-aleche@microsoft.com> Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Co-authored-by: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
56 lines
1.1 KiB
PowerShell
56 lines
1.1 KiB
PowerShell
|
|
Describe "Azure CLI" {
|
|
It "Azure CLI" {
|
|
"az --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Azure DevOps CLI" {
|
|
It "az devops" {
|
|
"az devops -h" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Aliyun CLI" {
|
|
It "Aliyun CLI" {
|
|
"aliyun version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
|
|
Describe "AWS" {
|
|
It "AWS CLI" {
|
|
"aws --version" | Should -ReturnZeroExitCode
|
|
}
|
|
|
|
It "Session Manager Plugin for the AWS CLI" {
|
|
session-manager-plugin | Out-String | Should -Match "plugin was installed successfully"
|
|
}
|
|
|
|
It "AWS SAM CLI" {
|
|
"sam --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
|
|
Describe "GitHub CLI" {
|
|
It "gh" {
|
|
"gh --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "CloudFoundry CLI" -Skip:(Test-IsWin22) {
|
|
It "cf is located in C:\cf-cli" {
|
|
"C:\cf-cli\cf.exe" | Should -Exist
|
|
}
|
|
|
|
It "cf" {
|
|
"cf --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Describe "Hub CLI" {
|
|
It "hub is installed" {
|
|
"hub --version" | Should -ReturnZeroExitCode
|
|
}
|
|
} |