-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
If I understand it correctly, right now this package isn't compatible with Windows because there's no windows version of LCOV. And trying to run the genhtml Perl script runs into errors because of Windows paths.
Locally, I've gotten around this by installing LCOV in WSL. Then, it's two lines of code:
First, I replace the slashes in lcov.info:
run(`bash -c "tr '\\\\' '/' < coverage/lcov.info > coverage/lcov.info.tmp && mv coverage/lcov.info.tmp coverage/lcov.info"`)
Next, I call genhtml:
run(`bash -c "genhtml -t "Test" -o coverage coverage/lcov.info"`)
It's very much a hack, but if people think it's useful, maybe it's worth a PR? Or is there a much simpler solution I'm missing? I didn't want to change genhtml's Perl code...
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed