At https://github.com/python-pillow/Pillow our codecov.yml
looks like this:
# Documentation: https://docs.codecov.io/docs/codecov-yaml
codecov:
# Avoid "Missing base report" due to committing CHANGES.rst with "[CI skip]"
# https://github.com/codecov/support/issues/363
# https://docs.codecov.io/docs/comparing-commits
allow_coverage_offsets: true
comment: false
# Matches 'omit:' in .coveragerc
ignore:
- "Tests/32bit_segfault_check.py"
- "Tests/bench_cffi_access.py"
- "Tests/check_*.py"
- "Tests/createfontdatachunk.py"
It’s used on Travis CI and AppVeyor. For GitHub Actions, we first copy an identical file to the root, except it includes a token:
# Documentation: https://docs.codecov.io/docs/codecov-yaml
codecov:
# Avoid "Missing base report" due to committing CHANGES.rst with "[CI skip]"
# https://github.com/codecov/support/issues/363
# https://docs.codecov.io/docs/comparing-commits
allow_coverage_offsets: true
token: <snip>
comment: false
# Matches 'omit:' in .coveragerc
ignore:
- "Tests/32bit_segfault_check.py"
- "Tests/bench_cffi_access.py"
- "Tests/check_*.py"
- "Tests/createfontdatachunk.py"
However, we’ve recently started getting comments on PRs.
I noticed the docs have recently changed from comment: off
(22 Sept 2019) to comment: false
(17 Jan 2020 and today).
We did have comment: off
so changed it to comment: false
, but still we get comments (eg. https://github.com/python-pillow/Pillow/pull/4391).
The two files validate properly using curl --data-binary @codecov.yml https://codecov.io/validate
.
Are we doing something wrong? How can we disable comments on PRs in this repo?
Thanks!