From a6ea6791585f285480dd1b1246693f6e12ca3b3b Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 2 Oct 2024 16:26:26 +0200 Subject: [PATCH] [devops] Fix windows tests. --- tools/devops/automation/templates/windows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/devops/automation/templates/windows/build.yml b/tools/devops/automation/templates/windows/build.yml index 1752872cd05..7514fbe3152 100644 --- a/tools/devops/automation/templates/windows/build.yml +++ b/tools/devops/automation/templates/windows/build.yml @@ -234,6 +234,10 @@ steps: - pwsh: | $Env:PATH = "$(Build.SourcesDirectory)\xamarin-macios\tests\dotnet\Windows\bin\dotnet;$env:PATH" $Env:DOTNET = "$(Build.SourcesDirectory)\xamarin-macios\tests\dotnet\Windows\bin\dotnet\dotnet.exe" + # Unset variables to connect to a remote Mac, since that's not what these tests are supposed to be doing. + $Env:MAC_AGENT_IP = "" + $Env:MAC_AGENT_USER = "" + $Env:XMA_PASSWORD = "" & $(Build.SourcesDirectory)\xamarin-macios\tests\dotnet\Windows\bin\dotnet\dotnet.exe ` test ` "$(Build.SourcesDirectory)/xamarin-macios/tests/dotnet/UnitTests/DotNetUnitTests.csproj" `