coverallsapp / github-action

Coveralls Github Action
https://github.com/marketplace/actions/coveralls-github-action
MIT License
468 stars 75 forks source link

Example of coverage for multiple languages #52

Open nathany opened 4 years ago

nathany commented 4 years ago

Since coveralls.io doesn't appear to support multiple languages, it would be useful to have an example of combining coverage from JavaScript and another language.

For example, I'm currently trying to combine Elixir (excoveralls) with JavaScript lcov data. https://github.com/parroty/excoveralls/issues/224

nathany commented 4 years ago

What if I already have coveralls format (rather than lcov format)?

This is what coveralls-multi produces. Is there a way to upload that without trying to convert it first?

Related: https://github.com/radditude/coveralls-multi/issues/10

Using lcov file: ./coveralls.json
[error] "2020-05-25T19:45:35.175Z"  'error from lcovParse: ' 'Failed to parse string'
[error] "2020-05-25T19:45:35.176Z"  'input: ' '{\n' +
...
[error] "2020-05-25T19:45:35.177Z"  'error from convertLcovToCoveralls'
##[error]Failed to parse string