/
githubmirror
/
ydb-rs-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-rs-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
codecov.yml
31 строка
1 KB
Oleg Ovcharuk
Add Codecov coverage status gates
07 июл 2026, 12:03
07 июл 2026, 12:03
3b3c832
Код
Авторство
О чём код?
# https://github.com/codecov/support/blob/master/codecov.yml 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 ignore: - ydb-grpc/src/generated - ydb/examples - tests/slo # 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. # # native-sdk = the ydb crate plus the hand-written parts of ydb-grpc (lib.rs, # manual_workarounds.rs); the generated protobuf code (ydb-grpc/src/generated) is # already excluded via ignore above, mirroring the Python SDK where the grpc # wrapper counts but the generated stubs do not. component_management: individual_components: - component_id: native-sdk name: Native SDK paths: - "ydb/**" - "ydb-grpc/**"