coverlet-coverage / coverlet

Cross platform code coverage for .NET
MIT License
2.93k stars 386 forks source link

Use ReportGenerator to visualize code coverage in build summary #1516

Closed Bertk closed 9 months ago

Bertk commented 11 months ago

@MarcoRossignoli @tonerdo Please add build task ReportGenerator in azure devops organization coverlet-coverage.

This allows to add code coverage results like it is done here: codecoverage-tab

Bertk commented 10 months ago

@MarcoRossignoli

This GitHub action might be useful. Many issues are outdated (e.g. framework not supported anymore) or no activity since 1 year.

https://docs.github.com/en/actions/managing-issues-and-pull-requests/closing-inactive-issues

https://github.com/coverlet-coverage/coverlet/pull/1522

Bertk commented 10 months ago

PR #1513 has solution for Azure DevOps pipeline coverage report. It is using dotnet-reportgenerator-globaltool instead of reportgenerator pipeline task.

Bertk commented 9 months ago

Coverage report is created with dotnet reportgenerator tool and the pipeline task is not required.

https://github.com/coverlet-coverage/coverlet/blob/master/eng/publish-coverage-results.yml