From a6fad5c25767371e6bb265de270068e3b4268cf2 Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Fri, 17 Sep 2021 10:21:45 -0400 Subject: [PATCH] ci: Use solution filter for unit tests build --- build/ci/.azure-devops-unit-tests.yml | 2 +- src/Uno.UI-UnitTests-only.slnf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/ci/.azure-devops-unit-tests.yml b/build/ci/.azure-devops-unit-tests.yml index 49bbd3dc8c50..bccb8f69eedb 100644 --- a/build/ci/.azure-devops-unit-tests.yml +++ b/build/ci/.azure-devops-unit-tests.yml @@ -43,7 +43,7 @@ jobs: - task: MSBuild@1 inputs: - solution: src/**/*.Tests.csproj + solution: src/Uno.UI-UnitTests-only.slnf msbuildArguments: /r /p:CheckExclusions=True /p:Configuration=Release /nodeReuse:true /detailedsummary /m $(ADDITIONAL_FLAGS) # /bl:$(build.artifactstagingdirectory)\build.binlog - task: VisualStudioTestPlatformInstaller@1 diff --git a/src/Uno.UI-UnitTests-only.slnf b/src/Uno.UI-UnitTests-only.slnf index ec9eb3b5508d..2799346f2547 100644 --- a/src/Uno.UI-UnitTests-only.slnf +++ b/src/Uno.UI-UnitTests-only.slnf @@ -7,6 +7,7 @@ "SourceGenerators\\System.Xaml\\Uno.Xaml.csproj", "SourceGenerators\\Uno.UI.SourceGenerators.Tests\\Uno.UI.SourceGenerators.Tests.csproj", "SourceGenerators\\Uno.UI.SourceGenerators\\Uno.UI.SourceGenerators.csproj", + "Uno.Analyzers.Tests\\Uno.Analyzers.Tests.csproj", "SourceGenerators\\Uno.UI.Tasks\\Uno.UI.Tasks.csproj", "T4Generator\\T4Generator.csproj", "Uno.Foundation\\Uno.Foundation.csproj",