Skip to content

Commit 86b4975

Browse files
committed
Update azure_pull_request.yml for Azure Pipelines
1 parent 1b6118c commit 86b4975

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

azure_pull_request.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ steps:
2424
script: dotnet build --no-incremental
2525
displayName: 'Run Build'
2626

27-
- task: DotNetCoreCLI@2
28-
displayName: 'Run dotnet test'
27+
- task: CmdLine@2
2928
inputs:
30-
command: test
31-
projects: '**/*[Tt]ests/*.csproj'
32-
arguments: '--configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]*' --no-restore --no-build
29+
script: --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]* --no-restore --no-build
30+
displayName: 'Run Tests'
3331

3432
- task: SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
3533
displayName: 'Run Code Analysis'

0 commit comments

Comments
 (0)