From ad92080a6e76bb51ea2b9e2726eee6c869316d1f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 17 Feb 2023 09:42:57 -0300 Subject: [PATCH] Use the right code coverage definitions (#352) (#354) by moving the `codecov.yml` file from .github the root folder. --- #### PR checklist - [x] Tests written/updated - [x] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [x] Updated relevant documentation (`docs/` or `spec/`) and code comments (cherry picked from commit c90660422de9ec3b21e3dd4078ae6fc8b8ec4411) Co-authored-by: Lasaro --- .github/codecov.yml | 25 ------------------------- codecov.yml | 20 +++++++++----------- 2 files changed, 9 insertions(+), 36 deletions(-) delete mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index 57c4bb160..000000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,25 +0,0 @@ -coverage: - precision: 2 - round: down - range: "70...100" - status: - project: - default: - threshold: 20% - patch: off - changes: off - -github_checks: - annotations: false - -comment: false - -ignore: - - "docs" - - "DOCKER" - - "scripts" - - "**/*.pb.go" - - "libs/pubsub/query/query.peg.go" - - "*.md" - - "*.rst" - - "*.yml" diff --git a/codecov.yml b/codecov.yml index a133d3145..57c4bb160 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,22 +2,17 @@ coverage: precision: 2 round: down range: "70...100" - github_checks: - annotations: false - status: project: default: - threshold: 1% - patch: on + threshold: 20% + patch: off changes: off -comment: - layout: "diff, files" - behavior: default - require_changes: no - require_base: no - require_head: yes +github_checks: + annotations: false + +comment: false ignore: - "docs" @@ -25,3 +20,6 @@ ignore: - "scripts" - "**/*.pb.go" - "libs/pubsub/query/query.peg.go" + - "*.md" + - "*.rst" + - "*.yml"