Making code coverage metrics and CI checks smarter #354
Closed
mattkwiecien
started this conversation in
Ideas
Replies: 1 comment
-
We agreed that Codecov is worth pursuing as a coverage tool. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today we discussed edge cases where the total test coverage metric may decrease when either no new code is added or when code quality is increased. In these instances the CI would reject the PR even if the PR contained improvements. For these reasons we want to investigate better test coverage metrics for firecrown.
We discussed two features that would be nice to have from code coverage:
It doesn't appear that
coveralls
supports either of these checks and only supports a total code coverage metric/check for CI. There are other tools which do support this. I've found the two most popular appear to bediff-cover
andCodecov
, thoughdiff-cover
seems more finnicky and has less documentation.Codecov
appears much more widely used with extensive documentation, and easier to set up, but would involve moving away completely fromcoveralls
. WithCodecov
, we could implement both of the above features usingCodecov/patch
andCodecov/project
(see github check details here https://docs.codecov.com/docs/github-checks). Is this something we would consider?Beta Was this translation helpful? Give feedback.
All reactions