Skip to content

Commit

Permalink
Jobs/PrGate.yml: Update Code Coverage commands (#273)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Javagedes authored Nov 15, 2023
1 parent f3ebfda commit eed62e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .sync/Version.njk
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#}

{# The git ref value that files dependent on this repo will use. #}
{% set mu_devops = "v7.2.0" %}
{% set mu_devops = "v8.0.0" %}

{# The latest Project Mu release branch value. #}
{% set latest_mu_release_branch = "release/202302" %}
Expand Down
2 changes: 1 addition & 1 deletion Jobs/PrGate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
${{ else }}:
self_host_agent: false
${{ if eq(parameters.calculate_code_coverage, true) }}:
extra_build_args: CODE_COVERAGE=TRUE
extra_build_args: CODE_COVERAGE=TRUE CC_FLATTEN=TRUE CC_FULL=TRUE
${{ else }}:
extra_build_args: ''

Expand Down

0 comments on commit eed62e8

Please sign in to comment.