Skip to content

Commit

Permalink
[SDK] Chore: Sets coverage thresholds (#5530)
Browse files Browse the repository at this point in the history
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 -->
  • Loading branch information
gregfromstl committed Nov 27, 2024
1 parent f64e025 commit 9d3c8ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

- run: pnpm test

- name: Upload coverage reports to Codecov
- name: Code Coverage
uses: codecov/codecov-action@v5
with:
directory: packages/
Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ coverage:
target: auto
patch:
packages:
target: auto
target: 80%
flags:
- packages

Expand Down

0 comments on commit 9d3c8ac

Please sign in to comment.