VIP-Coding-Standards icon indicating copy to clipboard operation
VIP-Coding-Standards copied to clipboard

CI: add code coverage check

Open jrfnl opened this issue 4 years ago • 0 comments
trafficstars

Follow up action after #628

Conversation about this between @GaryJones and @jrfnl from #628:

Register with coveralls.io (or another service) and start recording and checking code coverage for builds.

What sort of code coverage % do we currently have?

image

It's one of the things I've been monitoring locally when I have been working on individual sniffs.

Can this be done within the GitHub Actions rather than using an external service to display the results?

Yes, we can use the text reporter instead of checkstyle to see the results in the action.

We'd need to investigate how we can make the build fail on a decrease in code coverage in that case though. That part is what external services do automatically (and with configurable settings).

jrfnl avatar Apr 15 '21 17:04 jrfnl