Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/scripts/copy_sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ cp $2/.gitignore $tmp_dir
cp $2/.gitmodules $tmp_dir
cp $2/CMakePresets.json $tmp_dir
cp $2/CMakeLists.txt $tmp_dir
cp $2/codecov.yml $tmp_dir
cp $2/LICENSE $tmp_dir
cp $2/README.md $tmp_dir
for oss_test_dir in slo_workloads deb_package; do
Expand Down
25 changes: 25 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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.
#
# The SDK proper lives in src/ (implementation) and include/ (public headers).
# The vendored Arcadia libraries (util/, library/, contrib/, third_party/) and
# examples/tests/tools are not part of the native SDK and are pinned out by listing
# only the SDK paths.
component_management:
individual_components:
- component_id: native-sdk
name: Native SDK
paths:
- "src/**"
- "include/**"
Loading