File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,18 @@ steps:
2828 command : test
2929 projects : ' **/*[Tt]ests/*.csproj'
3030 arguments : ' --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage"'
31- targetdir : ' $(Build.SourcesDirectory)/reports'
32- reporttypes : ' HtmlInline_AzurePipelines;Xml;Html;Clover;Cobertura;SonarQube'
3331
3432# - script: 'dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.5.8'
3533# displayName: 'Install ReportGenerator tool'
3634
3735# - script: 'reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/coverlet/reports -reporttypes:"Cobertura"'
3836# displayName: 'Create reports'
3937
38+ - task : PublishTestResults@2
39+ inputs :
40+ testResultsFormat : ' VSTest'
41+ testResultsFiles : ' $(Agent.TempDirectory)/**.*trx'
42+
4043- task : Palmmedia.reportgenerator.reportgenerator-build-release-task.reportgenerator@5
4144 displayName : ReportGenerator
4245 inputs :
You can’t perform that action at this time.
0 commit comments