mirror of
https://github.com/actions/runner-images.git
synced 2026-01-08 19:54:43 +08:00
[Mac OS] Adapt code for Mac OS 14 image (#8760)
This commit is contained in:
committed by
GitHub
parent
433178adf5
commit
01fe87da2e
@@ -28,7 +28,7 @@ Describe "Python3" -Skip:($os.IsVenturaArm64) {
|
||||
|
||||
}
|
||||
|
||||
Describe "Python2" -Skip:($os.IsVenturaArm64 -or $os.IsVentura) {
|
||||
Describe "Python2" -Skip:($os.IsVenturaArm64 -or $os.IsVentura -or $os.IsSonoma) {
|
||||
It "Python 2 is available" {
|
||||
"/Library/Frameworks/Python.framework/Versions/2.7/bin/python --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -41,4 +41,4 @@ Describe "Python2" -Skip:($os.IsVenturaArm64 -or $os.IsVentura) {
|
||||
$2to3path = (Get-ChildItem (Get-Command 2to3).Path).Target
|
||||
$2to3path | Should -Not -BeLike '/Frameworks/Python.framework/Versions/2.*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user