Skip to content

Commit 7659a8e

Browse files
authored
fix incorrect codecov reports (#6553)
As discussed at #6317 codecov currently sends an invalid report when it fails to find a code coverage report for the base it checks against, so this gets fixed by: - require_base: yes # don't report if there is no base coverage report let's add this for clarity, this supposedly is already the default. - require_head: yes # don't report if there is no head coverage report and perhaps no point reporting on doc changes as they don't make any difference and it just generates noise: - require_changes: true # only comment if there was change in coverage
1 parent cfa26d2 commit 7659a8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

codecov.yml

+4
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ coverage:
44
default:
55
informational: true
66
patch: off
7+
comment:
8+
require_changes: true # only comment if there was change in coverage
9+
require_head: yes # don't report if there is no head coverage report
10+
require_base: yes # don't report if there is no base coverage report

0 commit comments

Comments
 (0)