Skip to content

Commit 1af0721

Browse files
authored
fix(codecov): fix codecov argument and yaml file (#260)
* fix(codecov): fix codecov argument and yaml file Signed-off-by: Cesar Berrospi Ramis <[email protected]> * ci: set the codecov status to success even if the CI fails Signed-off-by: Cesar Berrospi Ramis <[email protected]> --------- Signed-off-by: Cesar Berrospi Ramis <[email protected]>
1 parent 159f61d commit 1af0721

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/codecov.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ coverage:
77
default:
88
informational: true
99
target: auto # auto compares coverage to the previous base commit
10+
if_ci_failed: success
1011
flags:
1112
- docling
12-
comment:
13-
layout: "reach, diff, flags, files"
14-
behavior: default
15-
require_changes: false # if true: only post the comment if coverage changes
16-
branches: # branch names that can post comment
17-
- "main"
13+
comment:
14+
layout: "reach, diff, flags, files"
15+
behavior: default
16+
require_changes: false # if true: only post the comment if coverage changes
17+
branches: # branch names that can post comment
18+
- "main"

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
uses: codecov/codecov-action@v5
3737
with:
3838
token: ${{ secrets.CODECOV_TOKEN }}
39-
file: ./coverage.xml
39+
files: ./coverage.xml

0 commit comments

Comments
 (0)