mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 18:31:00 +03:00
b02becaa00
Attempt to reduce the number of comments posted by codecov to PR requests. Based on the codecov documenation setting "require_changes=yes" and "behavior=once" should result in a single comment under most circumstances. https://docs.codecov.io/v4.3.6/docs/pull-request-comments Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #7022 Closes #7025
23 lines
542 B
YAML
23 lines
542 B
YAML
codecov:
|
|
notify:
|
|
require_ci_to_pass: false # always post
|
|
after_n_builds: 2 # user and kernel
|
|
|
|
coverage:
|
|
precision: 2 # 2 digits of precision
|
|
range: "50...90" # red -> yellow -> green
|
|
|
|
status:
|
|
project:
|
|
default:
|
|
threshold: 1% # allow 1% coverage variance
|
|
|
|
patch:
|
|
default:
|
|
threshold: 1% # allow 1% coverage variance
|
|
|
|
comment:
|
|
layout: "reach, diff, flags, footer"
|
|
behavior: once # update if exists; post new; skip if deleted
|
|
require_changes: yes # only post when coverage changes
|