From 71b07b2676ac83edc1427f175dc5b14584106674 Mon Sep 17 00:00:00 2001 From: Dor Blayzer <59066376+Dor-bl@users.noreply.github.com> Date: Sun, 8 Dec 2024 06:02:49 +0200 Subject: [PATCH] ci: Split tests into two separate tasks per framework (#877) --- azure-pipelines.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 901935fa..9b5ecdad 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -34,9 +34,17 @@ steps: displayName: 'Install Appium' - task: DotNetCoreCLI@2 - displayName: 'Run unit tests - $(buildConfiguration)' + displayName: 'Run .NET48 unit tests - $(buildConfiguration)' inputs: command: 'test' - arguments: '--no-build --configuration $(buildConfiguration) --filter AppiumLocalServerLaunchingTest|DirectConnectTest' + arguments: '--no-build --configuration $(buildConfiguration) --filter AppiumLocalServerLaunchingTest|DirectConnectTest --framework net48' + publishTestResults: true + projects: '**/*.Tests.csproj' + +- task: DotNetCoreCLI@2 + displayName: 'Run .NET 6 unit tests - $(buildConfiguration)' + inputs: + command: 'test' + arguments: '--no-build --configuration $(buildConfiguration) --filter AppiumLocalServerLaunchingTest|DirectConnectTest --framework net6.0' publishTestResults: true projects: '**/*.Tests.csproj'