[macOS] Remove macOS-11 related code due to the deprecation (#10383)

This commit is contained in:
Erik Bershel
2024-08-09 11:25:15 +02:00
committed by GitHub
parent 88cb1bef47
commit 22143c7c68
27 changed files with 74 additions and 1176 deletions

View File

@@ -2,13 +2,13 @@ Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
$os = Get-OSVersion
Describe "Azure CLI" -Skip:($os.IsBigSur) {
Describe "Azure CLI" {
It "Azure CLI" {
"az -v" | Should -ReturnZeroExitCode
}
}
Describe "Azure DevOps CLI" -Skip:($os.IsBigSur) {
Describe "Azure DevOps CLI" {
It "az devops" {
"az devops -h" | Should -ReturnZeroExitCode
}
@@ -62,12 +62,6 @@ Describe "Perl" {
}
}
Describe "Helm" -Skip:($os.IsMonterey -or $os.IsVentura -or $os.IsSonoma) {
It "Helm" {
"helm version --short" | Should -ReturnZeroExitCode
}
}
Describe "Tcl/Tk" {
It "libtcl" {
"file /usr/local/lib/libtcl8.6.dylib" | Should -ReturnZeroExitCode
@@ -117,12 +111,6 @@ Describe "bazel" {
}
}
Describe "Aliyun CLI" -Skip:($os.IsMonterey -or $os.IsVentura -or $os.IsSonoma) {
It "Aliyun CLI" {
"aliyun --version" | Should -ReturnZeroExitCode
}
}
Describe "Julia" -Skip:($os.IsVentura -or $os.IsSonoma) {
It "Julia" {
"julia --version" | Should -ReturnZeroExitCode
@@ -147,19 +135,19 @@ Describe "wget" {
}
}
Describe "vagrant" -Skip:($os.IsBigSur -or $os.IsVentura -or $os.IsSonoma) {
Describe "vagrant" -Skip:($os.IsVentura -or $os.IsSonoma) {
It "vagrant" {
"vagrant --version" | Should -ReturnZeroExitCode
}
}
Describe "virtualbox" -Skip:($os.IsBigSur -or $os.IsVentura -or $os.IsSonoma) {
Describe "virtualbox" -Skip:($os.IsVentura -or $os.IsSonoma) {
It "virtualbox" {
"vboxmanage -v" | Should -ReturnZeroExitCode
}
}
Describe "R" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsBigSur) {
Describe "R" -Skip:($os.IsVentura -or $os.IsSonoma) {
It "R" {
"R --version" | Should -ReturnZeroExitCode
}
@@ -191,7 +179,7 @@ Describe "yq" {
}
}
Describe "imagemagick" -Skip:($os.IsBigSur -or $os.IsVentura -or $os.IsSonoma) {
Describe "imagemagick" -Skip:($os.IsVentura -or $os.IsSonoma) {
It "imagemagick" {
"magick -version" | Should -ReturnZeroExitCode
}