eriwen / lcov-to-cobertura-xml

Converts lcov output to Cobertura-compatible XML for CI
https://eriwen.github.io/lcov-to-cobertura-xml/
Apache License 2.0
187 stars 73 forks source link

CI, tools, and packaging (on top of PR #33) #36

Closed sarnold closed 2 years ago

sarnold commented 2 years ago

This is mainly packaging and some flake8/pylint cleanup, along with some GH workflows (since is travis is essentially dead for individual FOSS developers). Anyway, this also needs the fixes in PR #33 which are currently included here to make sure everything is green and submarine for a new Pypi release. Since one of the included workflows does a github release, I tested that in my fork and left the release page up for inspection. I don't currently have anything on Pypi, but the release workflow could have a Pypi job as well.

Oh, one of the things I actually fixed is the docs build (since I just tried sphinx recently) which uses an extra apidoc extension and the rtd theme. So now you get readme and api docs, however, it still needs a few more docstrings. Updated gh-pages is yet-another-test of sphinx workflow: http://sarnold.github.io/lcov-to-cobertura-xml

Lastly, and the reason I needed this package: clang source-based coverage with llvm-cov can output text/html/lcov, where the last one is lcov tracefile format and I couldn't find another tool to process that.

If you want to see the gh workflows run you'll need to enable them in your repo settings, otherwise you can see the action logs here: https://github.com/sarnold/lcov-to-cobertura-xml/actions

benlandrum commented 2 years ago

Bumping this.

benlandrum commented 2 years ago

Thank you, @eriwen!

eriwen commented 2 years ago

Sorry for the long, long wait.

Huge thanks to @sarnold for such an awesome contribution! 👏 This saved me many hours.