Skip to content

Commit bf6bc1f

Browse files
chrislevnericspod
andauthored
Enable code coverage comments on PRs in codecov configuration (#8402)
Fixes #7290. ### Description Enable code coverage on PR checks on file diff. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [x] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [x] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: Christopher Le <locvicvn1234@gmail.com> Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
1 parent 707b230 commit bf6bc1f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/codecov.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ coverage:
2424
flags: null
2525
paths: null
2626

27-
# Disable comments on PR
28-
comment: false
27+
comment: # enable code coverage comment on PR
28+
layout: "diff, flags, files"
29+
behavior: default
30+
require_changes: false
31+
require_base: false
32+
require_head: true
33+
hide_project_coverage: true
2934

3035
ignore:
3136
- "versioneer.py"

0 commit comments

Comments
 (0)