barecheck / code-coverage-action

GitHub Action that generates code coverage reports
https://barecheck.com
MIT License
57 stars 14 forks source link

Dont show diff if no base-lcov-file #240

Open TanguyRMalou opened 1 year ago

TanguyRMalou commented 1 year ago

In the readme, there this description for the base-lcov-file argument : Lcov.info file that would be used to compare code coverage. The comparison will be disabled if the file is not passed

But if I don't pass and lcov file, I have the line : Your code coverage diff: NaN% ▴ but it shouldn't be here according to the description

vitaliimelnychuk commented 1 year ago

Hello @TanguyRMalou!

Thanks for reporting it, you're right - it shouldn't be there in the first place. Feel free to create a PR once you have a chance.

Meantime, can you post your configuration of action here as well?