File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments