Fork me on GitHub
#cloverage
<
2022-01-11
>
fabrao16:01:42

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.

lread17:01:09

@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

seancorfield17:01:28

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

lread18:01:10

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.