Skip to content

Commit

Permalink
[devops] Fix windows tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Oct 2, 2024
1 parent 3f850ba commit a6ea679
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/devops/automation/templates/windows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" `
Expand Down

0 comments on commit a6ea679

Please sign in to comment.