coverallsapp / github-action

Coveralls Github Action

Home Page:https://coveralls.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find coverage file

coderaiser opened this issue · comments

Cannot find coverage file just after npm run coverage.

https://github.com/putoutjs/printer/actions/runs/5072269264/jobs/9109736982

image

Looks like you are using c8 utility which generates a coverage in JSON format which Coveralls doesn't support now.

A quick fix for you would be changing this line to redrun coverage:html. It generates LCOV report at first, then creates an HTML report, but Coveralls will use LCOV report, so it should work.

By the way, please, don't use @master reference. Use @v1 or @v2 (preferred)

Thanks a lot, look like this is the source of a problem :)!