Closed arvenil closed 4 years ago
Thanks for the report. Could you please open the issue in the "https://github.com/jandelgado/gcov2lcov" project, since this does the actual conversion?
I have a fix ready to test. Please test with:
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@8def3626a8d83b1304867dc031b6729eb733e993
If it works, I'll release it
I think I've found & fixed the problem, please retry with this version
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@c760baabceadcd9ab34f1a5244f0db8472abd6db
fixed by https://github.com/jandelgado/gcov2lcov/pull/4
Thanks -jan
codecov: 82% coveralls: 48% https://github.com/arvenil/kata
Note
-coverpkg=./...
. This results in below file (I cut it only to show line 14 of templates.go file):As you may see, for example, line 14 is visible there several times with different count. This tool converts it to:
And then coveralls doesn't seem to handle it and shows ZERO coverage when there was exactly one pass. Maybe this tool should sum such entries, and as so coveralls would show correct value, or maybe it's a bug worth reporting to coveralls?