Skip to content

Commit

Permalink
chore(ci): set test coverage thresholds
Browse files Browse the repository at this point in the history
write codecov config
  • Loading branch information
gregfromstl committed Nov 27, 2024
1 parent f64e025 commit 086e342
Show file tree
Hide file tree
Showing 2 changed files with 10 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
10 changes: 9 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ coverage:
target: auto
patch:
packages:
target: auto
target: 80%
flags:
- packages
lines:
target: 80%
branches:
target: 80%
statements:
target: 80%
functions:
target: 100%


github_checks:
Expand Down

0 comments on commit 086e342

Please sign in to comment.