/
githubmirror
/
ydb-dotnet-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-dotnet-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/codecov.yml
39 строк
1 KB
Oleg Ovcharuk
Add Codecov coverage status gates (#669)
07 июл 2026, 16:05
Не верифицирован
07 июл 2026, 16:05
e2aaced
Код
Авторство
О чём код?
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. # # This repo is a monorepo. The native-sdk component covers the SDK itself plus its # first-party OpenTelemetry integration. The EF Core provider # is a separate framework adapter and gets its own component, so it does not dilute # the SDK number. component_management: individual_components: - component_id: native-sdk name: Native SDK paths: - "src/Ydb.Sdk/src/**" - "src/Ydb.Sdk.OpenTelemetry/src/**" - component_id: efcore name: EF Core provider paths: - "src/EFCore.Ydb/src/**" # ydb-sdk and efcore-ydb coverage come from separate jobs, each uploaded from a # single matrix leg. Carry the last known value forward so a flaky or fail-fast # cancelled leg that skips its upload does not collapse the total and false-fail # the project status above. flags: ydb-sdk: carryforward: true efcore-ydb: carryforward: true