Skip to content

Commit 9d3c8ac

Browse files
committed
[SDK] Chore: Sets coverage thresholds (#5530)
CNCT-2485 <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the code coverage settings and the GitHub Actions workflow for better integration with Codecov. ### Detailed summary - Updated `codecov.yml` to set `target` coverage to `80%` instead of `auto`. - Modified `.github/workflows/CI.yml`: - Changed the step name from `Upload coverage reports to Codecov` to `Code Coverage`. - Specified the `directory` for coverage reports as `packages/`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent f64e025 commit 9d3c8ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787

8888
- run: pnpm test
8989

90-
- name: Upload coverage reports to Codecov
90+
- name: Code Coverage
9191
uses: codecov/codecov-action@v5
9292
with:
9393
directory: packages/

codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ coverage:
55
target: auto
66
patch:
77
packages:
8-
target: auto
8+
target: 80%
99
flags:
1010
- packages
1111

0 commit comments

Comments
 (0)