Skip to content

Commit 7d6ab85

Browse files
committed
fix coverage
1 parent 447f690 commit 7d6ab85

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/.codecov.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
codecov:
2+
allow_coverage_offsets: true # Avoid "Missing base report" due to committing with "[CI skip]"
3+
14
comment:
2-
require_changes: true
35
layout: "diff, files"
46

57
coverage:
68
status:
79
project:
810
default:
9-
target: auto
10-
threshold: 1%
11-
patch: off
11+
threshold: 0.5%

.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@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
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)