microsoft / mu_devops

Project Mu Developer Operations
https://microsoft.github.io/mu/
Other
27 stars 25 forks source link

Jobs/PrGate.yml: Update Code Coverage commands #273

Closed Javagedes closed 12 months ago

Javagedes commented 12 months ago

Updates the Code coverage command to also use the following flags:

CC_FLATTEN=TRUE - de-duplicates source file coverage due to the same source file being used by multiple INFs.

CC_FULL=TRUE - inserts coverage data (correct code line count, but zero lines covered) for all source files in the package that are not present in the original coverage report.

Integration Instructions

Pipelines consuming this change must add pygount to their pip-requirements file.