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
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.