-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support cobertura #25
Conversation
We cannot easily use the official GitHub Action from https://github.com/marketplace/actions/coveralls-github-action because it expects its input to be in LCOV format, which is not what coverage.py emits. See coverallsapp/github-action#4 for more discussion about this. If coverallsapp/github-action#25 were merged to support the Cobertura XML format, then `coverage xml` could be used to generate that format. Since it's not, it's simplest to just install the Python client for coveralls from PyPI.
We cannot easily use the official GitHub Action from https://github.com/marketplace/actions/coveralls-github-action because it expects its input to be in LCOV format, which is not what coverage.py emits. See coverallsapp/github-action#4 for more discussion about this. If coverallsapp/github-action#25 were merged to support the Cobertura XML format, then `coverage xml` could be used to generate that format. Since it's not, it's simplest to just install the Python client for coveralls from PyPI.
We cannot easily use the official GitHub Action from https://github.com/marketplace/actions/coveralls-github-action because it expects its input to be in LCOV format, which is not what coverage.py emits. See coverallsapp/github-action#4 for more discussion about this. If coverallsapp/github-action#25 were merged to support the Cobertura XML format, then `coverage xml` could be used to generate that format. Since it's not, it's simplest to just install the Python client for coveralls from PyPI.
We cannot easily use the official GitHub Action from https://github.com/marketplace/actions/coveralls-github-action because it expects its input to be in LCOV format, which is not what coverage.py emits. See coverallsapp/github-action#4 for more discussion about this. If coverallsapp/github-action#25 were merged to support the Cobertura XML format, then `coverage xml` could be used to generate that format. Since it's not, it's simplest to just install the Python client for coveralls from PyPI.
We cannot easily use the official GitHub Action from https://github.com/marketplace/actions/coveralls-github-action because it expects its input to be in LCOV format, which is not what coverage.py emits. See coverallsapp/github-action#4 for more discussion about this. If coverallsapp/github-action#25 were merged to support the Cobertura XML format, then `coverage xml` could be used to generate that format. Since it's not, it's simplest to just install the Python client for coveralls from PyPI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull all
Hey! This is a good feature. Fortunately in further versions of this Github Action we will use coverage-reporter which now has a support for cobertura reports. You can already use it directly (see its README) or wait until we will bring the support to this action. If you have a will to rebase this PR to the current master I will definitely merge it and release a new version. Or you can wait for the new v2 version which will support cobertura via coverage-reporter. |
Hey! If you wish to have cobertura support in |
i included the new node_modules - which makes it a huge diff.
the only real commits are the first 3 - and the last commit is what changed after running
npm install coveralls@3.0.8
Being that this supports both lcov and cobertura - i took the liberty of changeng the param
path-to-lcov
topath-to-file
but added a backwards compatible falbackthis also adds a
coverage-format
param that acceptslcov
orcobertura