Skip to content

Commit 8f00389

Browse files
committed
feat: configure codecov with 80% coverage requirement
- Add codecov.yml configuration file with 80% target coverage - Update GitHub Actions CI to use XML coverage format for better Codecov integration - Set project and patch coverage targets to 80% with 1% threshold - Current coverage is 89%, well above the 80% requirement This ensures code quality standards are maintained with proper coverage reporting.
1 parent 516f0b7 commit 8f00389

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: codecov/codecov-action@v5
6262
with:
6363
token: ${{ secrets.CODECOV_TOKEN }}
64-
files: ./coverage.txt
64+
files: ./coverage.xml
6565
flags: unittests
6666
name: codecov-umbrella
6767
fail_ci_if_error: true

codecov.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: 80%
6+
threshold: 1%
7+
patch:
8+
default:
9+
target: 80%
10+
threshold: 1%
11+
12+
comment:
13+
layout: "reach,diff,flags,tree"
14+
behavior: default
15+
require_changes: false

0 commit comments

Comments
 (0)