Skip to content

Commit cbb2dfc

Browse files
Update CI for TruffleRuby 22
1 parent 96b7e75 commit cbb2dfc

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- "3.2"
2727
- "jruby-9.3"
2828
- "jruby-9.4"
29-
- "truffleruby-21.0.0"
29+
- "truffleruby-22"
3030
steps:
3131
- uses: actions/checkout@v2
3232
- name: Run tests with Ruby ${{ matrix.ruby }}

Diff for: History.rdoc

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Add support to use SNI #406
44
* Drop Ruby 2.5 and JRuby 9.2 from CI tests
55
* Bump rubocop to 1.48.1
6+
* Update CI for TruffleRuby 22
67

78
=== Net::LDAP 0.17.1
89
* Fixed shebang of bash #385

Diff for: docker-compose.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ services:
9494
- .:/code
9595
working_dir: /code
9696

97-
ci-truffleruby-21.0.0:
98-
image: flavorjones/truffleruby:21.0.0
97+
# https://github.com/flavorjones/truffleruby/pkgs/container/truffleruby
98+
ci-truffleruby-22:
99+
image: ghcr.io/flavorjones/truffleruby:22.3.1
99100
entrypoint: /code/ci-run.sh
100101
environment:
101102
INTEGRATION: openldap

Diff for: test/test_ssl_ber.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ def setup
3131

3232
def test_transmit_strings
3333
omit_if RUBY_PLATFORM == "java", "JRuby throws an error without a real socket"
34-
omit_if RUBY_VERSION >= "3.1", "Ruby complains about connection not being open"
34+
omit_if (RUBY_VERSION >= "3.1" || RUBY_ENGINE == "truffleruby"), "Ruby complains about connection not being open"
3535

3636
assert_equal "foo", transmit("foo")
3737
end
3838

3939
def test_transmit_ber_encoded_numbers
4040
omit_if RUBY_PLATFORM == "java", "JRuby throws an error without a real socket"
41-
omit_if RUBY_VERSION >= "3.1", "Ruby complains about connection not being open"
41+
omit_if (RUBY_VERSION >= "3.1" || RUBY_ENGINE == "truffleruby"), "Ruby complains about connection not being open"
4242

4343
@to.write 1234.to_ber
4444
assert_equal 1234, @from.read_ber

0 commit comments

Comments
 (0)