From acbc22e79fcb4da9320ae0079cf3eaedb8ad61a6 Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Tue, 20 Jun 2023 22:53:40 +0100 Subject: [PATCH] test against jruby 9.4 --- Gemfile | 2 +- docker-compose-jruby-9.0.0.0.yml | 2 +- test/support/ci/build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 99407633..1525dad7 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,7 @@ gemspec gem "rake", "~> 13.0" group :test do + gem "ddtrace" gem "http-form_data", ">= 2.0.0" gem "minitest" gem "minitest-proveit" @@ -17,7 +18,6 @@ group :test do gem "spy" gem "webmock" gem "websocket-driver" - gem "ddtrace" platform :mri do gem "grpc" diff --git a/docker-compose-jruby-9.0.0.0.yml b/docker-compose-jruby-9.0.0.0.yml index eaa4d83f..20e15f7d 100644 --- a/docker-compose-jruby-9.0.0.0.yml +++ b/docker-compose-jruby-9.0.0.0.yml @@ -1,7 +1,7 @@ version: '3' services: httpx: - image: jruby:9.3 + image: jruby:9.4 environment: - JRUBY_OPTS=--debug entrypoint: diff --git a/test/support/ci/build.sh b/test/support/ci/build.sh index a41db49e..991224d8 100755 --- a/test/support/ci/build.sh +++ b/test/support/ci/build.sh @@ -60,7 +60,7 @@ else export SSL_CERT_FILE=$CABUNDLEDIR/ca-bundle.crt fi -if [[ ${RUBY_VERSION:0:1} = "3" ]] && [[ ! $RUBYOPT =~ "jit" ]]; then +if [[ "$RUBY_ENGINE" = "ruby" ]] && [[ ${RUBY_VERSION:0:1} = "3" ]] && [[ ! $RUBYOPT =~ "jit" ]]; then echo "running runtime type checking..." export RUBYOPT="$RUBYOPT -rbundler/setup -rrbs/test/setup" export RBS_TEST_RAISE=true