-
Notifications
You must be signed in to change notification settings - Fork 7
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
Coveralls + Scala doesn't seem to work with GitHub Actions #1388
Comments
Unfortunately, I tried asking both in coverallsapp/github-action#30 and in scoverage/sbt-coveralls#126 and I got no official answer. Seems like Coveralls is rather limited when it comes to Scala, despite announcing support for it in their webpage 🙁 |
oh, just hitting this issue in a project I'm "migrating" from travis to actions.. 🙁 |
@gzoller @ruippeixotog @carueda The task of integrating a scala project with coveralls can almost certainly be accomplished, but it looks like the community-created integration we're aware of, sbt-coverage with sbt-coveralls, does currently have some limitations; apparently with parallel builds and using As it pertains to using the Coveralls Github Action, the limitation to plugging and playing that may just be that sbt-coverage doesn't generate coverage reports in LCOV format, which, as you've discovered @gzoller, is required by the Coveralls Github Action. The next step, if you want to continue using the Coveralls Github Action, would be to find a way to convert the sbt-coverage report into LCOV, which you might be able to find off-the-shelf. You'll probably want to start back at scoverage and see if anyone's created any converters. Or perhaps use sbt-jacoco instead, which has some instructions on integrating with Coveralls. If converting to LCOV proves too big a barrier, that won't prevent you from using Github Actions for CI without using the Coveralls Github Action. If you attempt that, reach out to support@coveralls.io with the issues you encounter and we'll try to help you. Some guidelines to be aware of that may help as you explore different options:
And some details about using Github Actions vs Github Actions with the Coveralls Github Action:
|
Any update on getting parallel builds for sbt-coveralls? This issue has been open for over 3 years scoverage/sbt-coveralls#125 |
I tried using the Coveralls Github Action and received an error that it couldn't find the lcov.info file.
I've been using Coveralls with scoverage (via sbt plugin) for quite a while with Travis builds and wanted to see how Github Actions would work. Generating my coverage report doesn't appear to create a lcov.info file.
Is there a known pattern for getting code coverage for Scala into Coveralls via an Action? If not, this is a gap and issue.
The text was updated successfully, but these errors were encountered: