1

i have a public adonis js boilerplate in gitlab and i am struggling with the coverage badge as it shows "unknown" the repo link: https://gitlab.com/XanXus961/adonis-boilerplate

1 Answer 1

1

The coverage badge does not work with the cobertura report but with the coverage keyword.

You should add this to your test job:

  coverage: '/Statements\s*: \d+\.\d+/'

It should match this line, Gitlab should do the rest.

Not the answer you're looking for? Browse other questions tagged or ask your own question.