Closed fornellas closed 1 year ago
Hey @fornellas! Thank you for the issue. Try out v2
version of this Github action. It should work well with empty lcov files if you provide allow-empty: true
option.
v1
(and current master
) has some limitations including these:
v2
eliminates all these limitations, since it uses a coverage-reporter CLI tool to report the coverage. If you have any issues moving to v2
I'll be glad to help. See UPGRADE.md for details.
When an lcov file is empty (eg: there were no tests for that case), instead of considering "0%", the build fails with:
I ended up in this situation as I'm building for different archs, and for some cases, no tests are run (though they might in the future).