Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable code coverage history #7

Open
AArnott opened this issue Jun 21, 2019 · 1 comment
Open

Enable code coverage history #7

AArnott opened this issue Jun 21, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@AArnott
Copy link
Owner

AArnott commented Jun 21, 2019

The ReportGenerator supports producing reports with code coverage graphs. Although ADO doesn't have this built-in, we could generate our own HTML reports that includes this graph as part of our merge coverage job.

To accumulate history, each build could:

  1. Download a history artifact from the prior build from that same branch.
  2. Contribute a merged coverage file to that directory
  3. Remove very old reports to keep the number of files in the artifact to some max number (e.g. 20).
  4. Publish the updated artifact.

Storing history as a build artifact would allow history to always be based on past builds from a given branch, even old servicing branches would maintain history so long as we have a prior build for that branch.

@AArnott AArnott added the enhancement New feature or request label Jun 21, 2019
@AArnott
Copy link
Owner Author

AArnott commented Jun 21, 2019

As we'll be publishing our own HTML report, keep in mind coverlet-coverage/coverlet#474 (comment) which explains how to suppress the automatic regeneration of HTML reports by the ADO task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant