On this pull request, we changed the threshold for codecov project to 1%: Add threshold to codecov.yml and set certain files to ignore by Uzay-G · Pull Request #7106 · publiclab/plots2 · GitHub.
Our .codecov.yml
file looks like this now:
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false # if true: only post the comment if coverage changes
require_base: no # [yes :: must have a base report to post]
require_head: yes # [yes :: must have a head report to post]
branches: null # branch names that can post comment
coverage:
status:
project:
default:
threshold: 1%
patch: on
Unfortunately, the codecov report says the pull request decreases coverage by less than 1% and yet the test fails although it is under the set threshold. Is the syntax wrong somewhere?
Thank you so much for helping us work on this open source project with this tool!