cloverage

fabrao 2022-01-11T16:21:42.011Z

Hello, I´m trying to connect cloverage with project github workflow action, chaning the status of CI, but I´m having some problems with github configuration, I know that here is not github channel, but someone could do a change in CI status? In here? If is there any documentation about how to do this, I´d appreciate.

lread 2022-01-11T17:48:09.012500Z

@fabrao I might be able to help, but not sure I understand yet. Can you explain: 1. what is happening now 2. what you'd like to happen

seancorfield 2022-01-11T17:49:28.013200Z

I think he's asking if there is a way to get cloverage to fail the build (exit with a non-zero status) if coverage is below a specified threshold. @lee

lread 2022-01-11T18:30:10.015300Z

Oh. Thanks @seancorfield! So @fabrao have you tried adjusting the https://github.com/cloverage/cloverage#leiningen-project-options? If your coverage falls under the fail-threshold, if I remember correctly, the process should exit with a non-zero which should fail your CI workflow.