mirror of
https://github.com/actions/runner-images.git
synced 2026-01-24 05:23:34 +08:00
[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:
committed by
GitHub
parent
f685533110
commit
df292beac6
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user