Opened 2 years ago
Last modified 2 years ago
#56087 new enhancement
Configure Codecov status checks
Reported by: | desrosj | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | low |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
There are two status checks associated with Codecov reporting being attached to commits: project and 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 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.
Note: See
TracTickets for help on using
tickets.
I think there are a few things that could possibly be changed (listed in no particular order and each being an independent change).
project
status check and only run thepatch
check.