diff --git a/template/.codecov.yml b/template/.codecov.yml new file mode 100644 index 0000000..d001c41 --- /dev/null +++ b/template/.codecov.yml @@ -0,0 +1,26 @@ +# Codecov configuration +# https://docs.codecov.com/docs/codecov-yaml + +github_checks: + annotations: true + +comment: + layout: 'reach, diff, flags, files' + behavior: default + require_changes: false + require_base: false + require_head: true + +coverage: + status: + project: + default: + target: auto + threshold: 1% + # Make project coverage informational (won't block PR) + informational: true + patch: + default: + target: auto + # Require patch coverage but with threshold + threshold: 1% diff --git a/template/codecov.yml b/template/codecov.yml deleted file mode 100644 index f62b13a..0000000 --- a/template/codecov.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Codecov configuration -# https://docs.codecov.com/docs/codecovyml-reference - -coverage: - status: - project: - default: - # Make project coverage informational (won't block PR) - informational: true - patch: - default: - # Require patch coverage but with threshold - threshold: 1%