-
Notifications
You must be signed in to change notification settings - Fork 563
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
Please add TruffleRuby to your CI #1044
Comments
I can make a PR for it after #1043 is merged. |
Morning folks, as the reason issue #1 on truffle ruby exists I can hardly say no. However, does TruffleRuby support basic coverage yet? (@eregon ?) I haven't kept up well through the last years, but I remember that last time it didn't or so I think/thought. In that case, not running coverage on TruffleRuby on some side might be pregerable. |
Yes TruffleRuby supports Line coverage since many years and it passes the specs except for 1 failure: #1043 (comment) |
That's an interesting question. For most gems I would expect it's enough to run coverage on CRuby, and redundant to run coverage on JRuby/TruffleRuby. Although that's not true for gems which have some code depending on Coverage has some overhead for TruffleRuby IIRC so it might be best to disable it in gems CI for CI speed. For now what's needed is #1043. |
In the case of the |
This is no longer a problem with https://github.com/oracle/truffleruby/releases/tag/vm-23.0.0-preview1. |
New PR to add truffleruby in CI: #1079 |
Yeah, I think most coverage reporting services also struggle with it. It can be an option to multi run it but the use case for this is by far the minority (imo). As for how to run/not run it - I think it should be dedicated by an environment variable and only then do you run (or not) run the CI. This can easily be configured in a build matrix/build steps then and so for me that's on the user and neither TruffleRuby nor SimpleCov need to do anything. |
Thanks to @nirvdrum for pinging me and sorry for all the silence! |
Recently simplecov-0.22.0 which uses Coverage.running?. Unfortunately, truffleruby does not support
Coverage.running?
. This broke the CI of many of my gems which I both use simplecov and test against truffleruby (stable). I feel like this could have been avoided by adding truffleruby to simplecov's own CI, which would have caught the issue early, and allowed time for the TruffleRuby team to addCoverage.running?
.The text was updated successfully, but these errors were encountered: