From 0e6b7031d59d712eacd9024fb3d489952bfc4a3b Mon Sep 17 00:00:00 2001 From: anishakj <43978302+anishakj@users.noreply.github.com> Date: Mon, 16 Aug 2021 22:01:52 +0530 Subject: [PATCH] Issue 148: Configuring codecov for PR validation tasks (#377) * Adding codecov for PR validation task Signed-off-by: anishakj * updating target to 70% Signed-off-by: anishakj --- .codecov.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 000000000..285bc5780 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,32 @@ +# +# Copyright Pravega Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +codecov: + require_ci_to_pass: yes + max_report_age: off + notify: + wait_for_ci: yes + +coverage: + status: + project: + default: + threshold: 0.5% + patch: + default: + target: 70% + ignore: + - "**/generated/**" + - "test"