[macos] Add exclusion for macOS 13 to the Xamarin test (#8274)

This commit is contained in:
Alexey-Ayupov
2023-09-14 11:21:42 +02:00
committed by GitHub
parent 5ffd15d845
commit 50f1c72a18
+7 -4
View File
@@ -2,10 +2,11 @@ Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
Import-Module "$PSScriptRoot/../helpers/Tests.Helpers.psm1" -DisableNameChecking Import-Module "$PSScriptRoot/../helpers/Tests.Helpers.psm1" -DisableNameChecking
$os = Get-OSVersion $os = Get-OSVersion
$MONO_VERSIONS = Get-ToolsetValue "xamarin.mono-versions" if ((-not $os.IsVentura) -and (-not $os.IsVenturaArm64)) {
$XAMARIN_IOS_VERSIONS = Get-ToolsetValue "xamarin.ios-versions" $MONO_VERSIONS = Get-ToolsetValue "xamarin.mono-versions"
$XAMARIN_MAC_VERSIONS = Get-ToolsetValue "xamarin.mac-versions" $XAMARIN_IOS_VERSIONS = Get-ToolsetValue "xamarin.ios-versions"
$XAMARIN_ANDROID_VERSIONS = Get-ToolsetValue "xamarin.android-versions" $XAMARIN_MAC_VERSIONS = Get-ToolsetValue "xamarin.mac-versions"
$XAMARIN_ANDROID_VERSIONS = Get-ToolsetValue "xamarin.android-versions"
BeforeAll { BeforeAll {
function Get-ShortSymlink { function Get-ShortSymlink {
@@ -298,3 +299,5 @@ Describe "Nuget" -Skip:($os.IsVentura -or $os.IsVenturaArm64) {
Get-Content $env:HOME/.config/NuGet/NuGet.Config | Out-String | Should -Match "nuget.org" Get-Content $env:HOME/.config/NuGet/NuGet.Config | Out-String | Should -Match "nuget.org"
} }
} }
}