From 458a40f74e96e3877329f29d03189ebcc2065d17 Mon Sep 17 00:00:00 2001 From: Alexander Simmerl Date: Tue, 27 Feb 2018 12:58:50 +0100 Subject: [PATCH] Integrate CodeCov as change acceptance stage As a rough measure to keep quality up we want to integrate our code coverage tooling to the point where it is required for changes to be merged. Example taken from https://github.com/cosmos/voyager/blob/develop/codecov.yaml --- .codecov.yml | 26 -------------------------- codecov.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 26 deletions(-) delete mode 100644 .codecov.yml create mode 100644 codecov.yml diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 7321557bc..000000000 --- a/.codecov.yml +++ /dev/null @@ -1,26 +0,0 @@ - -# -# This codecov.yml is the default configuration for -# all repositories on Codecov. You may adjust the settings -# below in your own codecov.yml in your repository. -# -coverage: - precision: 2 - round: down - range: 70...100 - - status: - # Learn more at https://codecov.io/docs#yaml_default_commit_status - project: - default: - threshold: 1% # allow this much decrease on project - changes: false - -comment: - layout: "header, diff" - behavior: default # update if exists else create new - -ignore: - - "docs" - - "*.md" - - "*.rst" diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..bb23ad4a3 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,16 @@ +coverage: + precision: 2 + round: down + range: "70...100" + + status: + project: on + patch: on + changes: off + +comment: + layout: "diff, files" + behavior: default + require_changes: no + require_base: no + require_head: yes