Skip to content

Commit

Permalink
ci: Split tests into two separate tasks per framework (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor-bl authored Dec 8, 2024
1 parent c15e797 commit 71b07b2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 71b07b2

Please sign in to comment.