File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,9 @@ steps:
2121 sonar.cs.vstest.reportsPaths=$(Agent.TempDirectory)/*.trx
2222
2323 - task : CmdLine@2
24- displayName : ' Run Build'
2524 inputs :
26- script : dotnet build --no-incremental
27-
28- - task : CmdLine@2
25+ script : dotnet test --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]*
2926 displayName : ' Run Tests'
30- inputs :
31- script : dotnet test --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]* --no-restore --no-build
3227
3328- task : SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
3429 displayName : ' Run Code Analysis'
You can’t perform that action at this time.
0 commit comments