mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
Bring latest changes from internal Mac-Cloud repository from 21 September
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
|
||||
Import-Module "$PSScriptRoot/../helpers/Tests.Helpers.psm1"
|
||||
|
||||
$os = Get-OSVersion
|
||||
|
||||
Describe "Python" {
|
||||
It "Python 2 is available" {
|
||||
"python --version" | Should -ReturnZeroExitCode
|
||||
@@ -10,7 +12,7 @@ Describe "Python" {
|
||||
(Get-CommandResult "python --version").Output | Should -BeLike "Python 2.*"
|
||||
}
|
||||
|
||||
It "Python 2 is installed under /usr/local/bin" {
|
||||
It "Python 2 is installed under /usr/local/bin" -Skip:($os.IsBigSur) {
|
||||
Get-WhichTool "python" | Should -BeLike "/usr/local/bin*"
|
||||
}
|
||||
|
||||
@@ -22,7 +24,7 @@ Describe "Python" {
|
||||
Get-WhichTool "python3" | Should -BeLike "/usr/local/bin*"
|
||||
}
|
||||
|
||||
It "Pip 2 is available" {
|
||||
It "Pip 2 is available" -Skip:($os.IsBigSur) {
|
||||
"pip --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user