fix(codecov): fix codecov argument and yaml file (#1399)
* fix(codecov): fix codecov argument and yaml file Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com> * ci: set the codecov status to success even if the CI fails Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com> --------- Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
This commit is contained in:
parent
550b1ca2f8
commit
fa7fc9e63d
3
.github/codecov.yml
vendored
3
.github/codecov.yml
vendored
@ -7,9 +7,10 @@ coverage:
|
|||||||
default:
|
default:
|
||||||
informational: true
|
informational: true
|
||||||
target: auto # auto compares coverage to the previous base commit
|
target: auto # auto compares coverage to the previous base commit
|
||||||
|
if_ci_failed: success
|
||||||
flags:
|
flags:
|
||||||
- docling
|
- docling
|
||||||
comment:
|
comment:
|
||||||
layout: "reach, diff, flags, files"
|
layout: "reach, diff, flags, files"
|
||||||
behavior: default
|
behavior: default
|
||||||
require_changes: false # if true: only post the comment if coverage changes
|
require_changes: false # if true: only post the comment if coverage changes
|
||||||
|
2
.github/workflows/checks.yml
vendored
2
.github/workflows/checks.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
file: ./coverage.xml
|
files: ./coverage.xml
|
||||||
- name: Run examples
|
- name: Run examples
|
||||||
run: |
|
run: |
|
||||||
for file in docs/examples/*.py; do
|
for file in docs/examples/*.py; do
|
||||||
|
Loading…
Reference in New Issue
Block a user