Skip to content

Commit 4af0968

Browse files
committed
Update azure_pull_request.yml for Azure Pipelines
1 parent af88f32 commit 4af0968

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

azure_pull_request.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,19 @@ steps:
2222
- task: CmdLine@2
2323
inputs:
2424
script: dotnet build --no-incremental
25-
displayName: 'Run dotnet build'
25+
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-build --no-restore'
29+
script: dotnet test --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]* --no-build --no-restore
30+
displayName: 'Run Tests'
31+
32+
# - task: DotNetCoreCLI@2
33+
# displayName: 'Run dotnet test'
34+
# inputs:
35+
# command: test
36+
# projects: '**/*[Tt]ests/*.csproj'
37+
# arguments: '--configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]* --no-build --no-restore'
3338

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

0 commit comments

Comments
 (0)