Skip to content

Commit 68c2ccb

Browse files
authored
fix: codecov.yml file with patch reporting (#544)
2 parents fd4aac2 + 4dbb0e6 commit 68c2ccb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

codecov.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ comment:
44
behavior: default
55
layout: "reach, diff, flags, files"
66

7-
87
ignore:
98
- "**/test_*"
109
- "**/*_test.*"
@@ -19,7 +18,11 @@ coverage:
1918
round: down
2019
status:
2120
project: no
22-
patch: yes
23-
changes: yes
21+
patch: # patch status only measures lines adjusted in the pull request or single commit
22+
default:
23+
target: 80% # target of an exact coverage number such as 75% or 100%
24+
threshold: 2% # Allow the coverage to drop by X%, and posting a success status.
25+
base: auto
26+
changes: no # Codecov will detect changes in coverage that are NOT included in the commit/pull diff
2427
github_checks:
25-
annotations: true
28+
annotations: true

0 commit comments

Comments
 (0)