Skip to content

Commit f78b176

Browse files
committed
Work around bug in JDK for JRuby tests
1 parent a7e873c commit f78b176

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ jobs:
3030
- truffleruby-head
3131
- mingw
3232
exclude:
33-
- { os: ubuntu, ruby: jruby }
34-
- { os: ubuntu, ruby: jruby-head }
3533
- { os: ubuntu, ruby: mingw }
3634
- { os: macos, ruby: mingw }
3735
- { os: windows, ruby: truffleruby }
@@ -46,8 +44,12 @@ jobs:
4644
with:
4745
ruby-version: ${{ matrix.ruby }}
4846
bundler-cache: true
47+
env:
48+
JAVA_OPTS: -Djdk.io.File.enableADS=true
4949
- name: Run tests
5050
run: bundle exec rake default
51+
env:
52+
JAVA_OPTS: -Djdk.io.File.enableADS=true
5153

5254
finish:
5355
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)