Skip to content

Commit a38b7f2

Browse files
committed
fix coverage
1 parent 447f690 commit a38b7f2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/.codecov.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
codecov:
2+
allow_coverage_offsets: true # Avoid "Missing base report" due to committing with "[CI skip]"
3+
14
comment:
25
require_changes: true
36
layout: "diff, files"
@@ -7,5 +10,5 @@ coverage:
710
project:
811
default:
912
target: auto
10-
threshold: 1%
13+
threshold: 0.5%
1114
patch: off

.github/workflows/pytest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ jobs:
3333
pytest --cov=comfy_cli --cov-report=xml .
3434
3535
- name: Upload coverage to Codecov
36-
uses: codecov/codecov-action@v4
36+
uses: codecov/codecov-action@v5
3737
with:
3838
token: ${{ secrets.CODECOV_TOKEN }}
3939
files: ./coverage.xml
4040
flags: unittests
4141
name: codecov-umbrella
4242
fail_ci_if_error: true
43+
verbose: true

0 commit comments

Comments
 (0)