Skip to content
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

Set JRuby —debug option when running tests in GitHub Actions workflows #6

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

jcouball
Copy link
Member

SimpleCov suggests using the --debug option in to ensure that code coverage is reported correctly.

When SimpleCov is run in JRuby, it gives the warning:

Coverage may be inaccurate; set the "--debug" command line option, or do 
JRUBY_OPTS="--debug" or set the "debug.fullTrace=true" option in your .jrubyrc

This PR adds the JRUBY_OPTS environment variable in all GitHub Actions workflows at the global level.

@jcouball jcouball added the internal-change The PR includes changes that are NOT user-facing and will NOT require a release label Sep 15, 2024
@jcouball jcouball merged commit 3879f0a into main Sep 15, 2024
13 checks passed
@jcouball jcouball deleted the set_jruby_debug_option branch September 15, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-change The PR includes changes that are NOT user-facing and will NOT require a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant