From a946e42630c905359be0ca8b619115fbaeaa8ed1 Mon Sep 17 00:00:00 2001 From: Oleg Ovcharuk Date: Tue, 7 Jul 2026 11:37:42 +0300 Subject: [PATCH] Add Codecov coverage status gates --- codecov.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/codecov.yml b/codecov.yml index aea5afd570..e4cddb4661 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,13 @@ +coverage: + status: + project: + default: + target: auto # do not drop below the current level... + threshold: 1% # ...by more than 1% + patch: + default: + target: 80% # new/changed code in the PR diff must be >= 80% covered + # Cross-repo uniform metric: every YDB SDK repo defines this same component_id, # so native-SDK coverage is queryable identically via the Codecov API # (?component_id=native-sdk), regardless of how each repo tags its uploads.