mirror of
https://github.com/actions/runner-images.git
synced 2026-01-09 12:08:02 +08:00
Enable Java tests since Java switching was fixed in MacOS 11.0 beta 9
This commit is contained in:
@@ -11,7 +11,7 @@ function Get-NativeVersionFormat {
|
||||
return $Version
|
||||
}
|
||||
|
||||
Describe "Java" -Skip:($os.IsBigSur) {
|
||||
Describe "Java" {
|
||||
BeforeAll {
|
||||
function Validate-JavaVersion {
|
||||
param($JavaCommand, $ExpectedVersion)
|
||||
|
||||
@@ -12,7 +12,7 @@ Describe "Python" {
|
||||
(Get-CommandResult "python --version").Output | Should -BeLike "Python 2.*"
|
||||
}
|
||||
|
||||
It "Python 2 is installed under /usr/local/bin" -Skip:($os.IsBigSur) {
|
||||
It "Python 2 is installed under /usr/local/bin" {
|
||||
Get-WhichTool "python" | Should -BeLike "/usr/local/bin*"
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ Describe "Python" {
|
||||
Get-WhichTool "python3" | Should -BeLike "/usr/local/bin*"
|
||||
}
|
||||
|
||||
It "Pip 2 is available" -Skip:($os.IsBigSur) {
|
||||
It "Pip 2 is available" {
|
||||
"pip --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user