Skip to content

Commit a0cd4b5

Browse files
committed
CI: Add jruby-9.4.12.1
This is the new target version for openvoxserver/db 8: https://github.com/OpenVoxProject/jruby-deps/blob/a50c718fee1a3df385959cf02dd4b61503b53472/project.clj#L1
1 parent bd05da2 commit a0cd4b5

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- '3.3'
4242
- '3.4'
4343
- '4.0'
44+
- 'jruby-9.4.12.1'
4445
- 'jruby-9.4.8.0'
4546
runs-on: ubuntu-24.04
4647
steps:
@@ -142,6 +143,7 @@ jobs:
142143
- {os: ubuntu-22.04, ruby: '3.2'} # with openssl 3
143144
- {os: ubuntu-22.04, ruby: 'jruby-9.3.14.0'}
144145
- {os: ubuntu-latest, ruby: 'jruby-9.4.8.0'}
146+
- {os: ubuntu-latest, ruby: 'jruby-9.4.12.1'}
145147
- {os: windows-2022, ruby: '2.7'}
146148
- {os: windows-2022, ruby: '3.2'} # with openssl 3
147149
runs-on: ${{ matrix.cfg.os }}

spec/facter/util/resolvers/networking/networking_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
let(:address) { '::ffff:192.0.2.128' }
5555

5656
it 'returns scope6' do
57-
pending('JRuby 9.4.7.0 does not properly parse mixed IPv6 addresses https://github.com/jruby/jruby/issues/8248') if RUBY_PLATFORM == 'java' && RUBY_VERSION == '3.1.4'
57+
# openvoxserver 8.12 ships jruby 9.4.12. older versions used 9.4.8, puppetserver 8 used 9.4.7.
58+
# The jruby bug is fixed in 9.4.12
59+
pending('JRuby 9.4.7.0 does not properly parse mixed IPv6 addresses https://github.com/jruby/jruby/issues/8248') if defined?(JRUBY_VERSION) && JRUBY_VERSION == '9.4.8.0'
5860
expect(networking_helper.get_scope(address)).to eql('global')
5961
end
6062
end

0 commit comments

Comments
 (0)