Skip to content

Commit 5b0cc7b

Browse files
committed
Set JRuby —debug option when running tests in GitHub Actions workflows
1 parent ec2a239 commit 5b0cc7b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99

1010
workflow_dispatch:
1111

12+
env:
13+
# SimpleCov suggests setting the JRuby --debug flag to ensure that coverage
14+
# results from JRuby are complete.
15+
JRUBY_OPTS: --debug
16+
1217
# Supported platforms / Ruby versions:
1318
# - Ubuntu: MRI (3.1, 3.2, 3.3), TruffleRuby (24), JRuby (9.4)
1419
# - Windows: MRI (3.1), JRuby (9.4)

.github/workflows/experimental_ruby_builds.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ on:
66

77
workflow_dispatch:
88

9+
env:
10+
# SimpleCov suggests setting the JRuby --debug flag to ensure that coverage
11+
# results from JRuby are complete.
12+
JRUBY_OPTS: --debug
13+
914
# Experimental platforms / Ruby versions:
1015
# - Ubuntu: MRI (head), TruffleRuby (head), JRuby (head)
1116
# - Windows: MRI (head), JRuby (head)
1217

1318
jobs:
1419
build:
1520
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
16-
21+
1722
runs-on: ${{ matrix.operating-system }}
1823
continue-on-error: true
1924

0 commit comments

Comments
 (0)
close