[Mac OS] Configure template for Mac OS 14 ARM64 image (#8769)

* Configure template for Mac OS 14 ARM64 image

* Change conditions for ruby
This commit is contained in:
Vasilii Polikarpov
2023-11-10 18:53:24 +01:00
committed by GitHub
parent f685533110
commit df292beac6
31 changed files with 434 additions and 202 deletions

View File

@@ -3,7 +3,7 @@ Import-Module "$PSScriptRoot/../helpers/Tests.Helpers.psm1" -DisableNameChecking
$os = Get-OSVersion
Describe "Python3" -Skip:($os.IsVenturaArm64) {
Describe "Python3" -Skip:($os.IsVenturaArm64 -or $os.IsSonomaArm64) {
It "Python 3 is available" {
"python3 --version" | Should -ReturnZeroExitCode
}
@@ -28,7 +28,7 @@ Describe "Python3" -Skip:($os.IsVenturaArm64) {
}
Describe "Python2" -Skip:($os.IsVenturaArm64 -or $os.IsVentura -or $os.IsSonoma) {
Describe "Python2" -Skip:($os.IsVentura -or $os.IsSonoma) {
It "Python 2 is available" {
"/Library/Frameworks/Python.framework/Versions/2.7/bin/python --version" | Should -ReturnZeroExitCode
}