[macOS] prepare repository for macOS 13 (#7156)

This commit is contained in:
Alexey-Ayupov
2023-02-28 22:24:25 +03:00
committed by GitHub
parent 9089d1ec95
commit c6c2716726
9 changed files with 161 additions and 114 deletions

View File

@@ -1,6 +1,8 @@
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
Import-Module "$PSScriptRoot/../helpers/Tests.Helpers.psm1" -DisableNameChecking
$os = Get-OSVersion
function Get-NativeVersionFormat {
param($Version)
if ($Version -in "8") {
@@ -56,7 +58,7 @@ Describe "Java" {
}
Context "Java Adopt" {
Describe "Java Adopt" {
Describe "Java Adopt" -Skip:($os.IsVentura) {
It "Java Adopt <Version>" -TestCases $adoptCases {
$adoptPath = Join-Path (Get-ChildItem ${env:AGENT_TOOLSDIRECTORY}\Java_Adopt_jdk\${Version}*) "x64\Contents\Home\bin\java"