[wp-trac] [WordPress Trac] #56087: Configure Codecov status checks
WordPress Trac
noreply at wordpress.org
Tue Jun 28 15:19:51 UTC 2022
#56087: Configure Codecov status checks
------------------------------+-----------------------------
Reporter: desrosj | Owner: (none)
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
There are two [https://docs.codecov.com/docs/commit-status status checks]
associated with Codecov reporting being attached to commits:
[https://docs.codecov.com/docs/commit-status#project-status project] and
[https://docs.codecov.com/docs/commit-status#patch-status patch].
Patch status only measures the lines adjusted in the commit where project
measures the overall project coverage and compares the before and after
for the current commit.
Because a coverage report is not generated for every commit, the `project`
check sometimes attaches misleading information to a commit when it does
run. For example, see [https://github.com/WordPress/wordpress-
develop/commit/567b8377541bf5f212437c73590bf044b22e1730 this commit]. No
files in the `src` directory were changed, but the test coverage is
reported as declining.
It seems that any decline in coverage is also considered a failure.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56087>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list