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'