-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Labels
Area: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core libraryExternal: .NET SDKExternal: dotnet test`dotnet test` integration`dotnet test` integration
Description
Summary
Now it you will try to run .NET Framework tests on unix platforms on GitHub action you will see an error that mono is not installed
I think that this is not what most of the people want (at least by default)
Make sense to disable is by default
Background and Motivation
Now you need to write code in github actions like that:
- name: .NET Framework Tests
if: matrix.os == 'windows-latest'
run: dotnet test -f net472
- name: .NET 8 Tests
run: dotnet test -f net8.0
- name: .NET 9 Tests
run: dotnet test -f net9.0
- name: .NET 10 Tests
run: dotnet test -f net10.0
would be better just to run it like that:
- name: Tests
run: dotnet test
Proposed Feature
Do not run .NET Framework tests on non-windows platforms by default in new MTP mode for .NET 10+
Add --run-mono-tests
as fallback option for people who needed it
Alternative Designs
status quo
Metadata
Metadata
Assignees
Labels
Area: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core libraryExternal: .NET SDKExternal: dotnet test`dotnet test` integration`dotnet test` integration