File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,12 @@ steps:
2424 script : dotnet build --no-incremental
2525 displayName : ' Run Build'
2626
27- - task : CmdLine@2
27+ - task : DotNetCoreCLI@2
28+ displayName : ' Run dotnet test'
2829 inputs :
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'
30+ command : test
31+ projects : ' **/*[Tt]ests/*.csproj'
32+ arguments : ' --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]*'
3833
3934- task : SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
4035 displayName : ' Run Code Analysis'
You can’t perform that action at this time.
0 commit comments