This repository was archived by the owner on Jul 13, 2026. It is now read-only.
Repository navigation
[tests] Use dotnet test to run AndroidSdk-Tests - #102
Merged
Merged
Conversation
Updates `Xamarin.Android.Tools.AndroidSdk-Tests.csproj` to target only `netcoreapp3.1`, and updates all test running logic to use dotnet test. This will allow us to remove the `globalPackagesFolder` override from NuGet.config as NUnit.ConsoleRunner is no longer referenced or used. The YAML pipeline has also been consolidated a bit to reduce step duplication. A matrix strategy is now used to run the same steps in parallel on both macOS and Windows. OS-specific steps are now hidden behind a condition so that we don't duplicate artifact uploading and publishing.
Member
Author
|
We can probably wait to merge this until after d16-9 branches. |
`dotnet test *.[dll][csproj]` is nearly as straightforward of a command as `make run-all-tests`, and has the benefit of being supported on multiple operating systems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
Xamarin.Android.Tools.AndroidSdk-Tests.csprojto target onlynetcoreapp3.1, and updates all test running logic to use dotnet test.This will allow us to remove the
globalPackagesFolderoverride fromNuGet.config as NUnit.ConsoleRunner is no longer referenced or used.
The YAML pipeline has also been consolidated a bit to reduce step
duplication. A matrix strategy is now used to run the same steps in
parallel on both macOS and Windows. OS-specific steps are now hidden
behind a condition so that we don't duplicate artifact uploading and
publishing.