PR comment for Git diff only ("Patch" coverage)
If you would like to toggle on or off the "Patch only" / Git diff in the PR comment, see below the steps.
Git diff only, no coverage comparison
To show only the git diff / patch coverage, and exclude any comparison between base and head:
comment:
layout: "condensed_header, condensed_files, condensed_footer" # add "condensed_" to "header", "files" and "footer"
hide_project_coverage: TRUE # set to true
Full PR comment, including coverage comparison
If you would like to see the full PR comment, inclusive of comparison between the base and the head:
comment:
layout: "header, files, footer" # remove "new" from "header" and "footer"
hide_project_coverage: false # set to false
You can also include all of the other layout fields as you'd like under the layout key, see options here.
Updated about 1 year ago