Skip to content

Commit 514710b

Browse files
committed
Run multi-targeted Roslyn projects in CI
1 parent b661cb7 commit 514710b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

azure-pipelines.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ jobs:
4646
- script: dotnet test -c Release -f net6.0 -l "trx;LogFileName=VSTestResults_net6.0.trx"
4747
displayName: Run .NET 6 unit tests
4848

49+
# Run the .NET 6 MVVM Toolkit tests targeting Roslyn 4.0.1
50+
- script: dotnet test tests\CommunityToolkit.Mvvm.UnitTests\CommunityToolkit.Mvvm.UnitTests.csproj -c Release -f net6.0 -l "trx;LogFileName=VSTestResults_net6.0_mvvmtoolkit_roslyn401.trx"
51+
displayName: Run CommunityToolkit.Mvvm.UnitTests unit tests with Roslyn 4.0.1
52+
53+
# Run the .NET 6 MVVM Toolkit source generator tests targeting Roslyn 4.0.1
54+
- script: dotnet test tests\CommunityToolkit.Mvvm.SourceGenerators.UnitTests\CommunityToolkit.Mvvm.SourceGenerators.UnitTests.csproj -c Release -f net6.0 -l "trx;LogFileName=VSTestResults_net6.0_mvvmtoolkit_generators_roslyn401.trx"
55+
displayName: Run CommunityToolkit.Mvvm.UnitTests unit tests with Roslyn 4.0.1
56+
4957
# Run .NET Core 3.1 tests
5058
- script: dotnet test -c Release -f netcoreapp3.1 -l "trx;LogFileName=VSTestResults_netcoreapp3.1.trx"
5159
displayName: Run .NET Core 3.1 unit tests

0 commit comments

Comments
 (0)