disabling runtime type-checking for webmock and ddtrace tests

the pattern used to override the session class doesn't seem to be supported by rbs runtime type checking code
This commit is contained in:
HoneyryderChuck 2023-11-22 11:09:50 +00:00
parent 79756e4ac4
commit a586dd0d44

View File

@ -76,6 +76,11 @@ fi
PARALLEL=1 bundle exec rake test
if [[ "$RUBY_ENGINE" = "ruby" ]] && [[ ${RUBY_VERSION:0:1} = "3" ]] && [[ ! $RUBYOPT =~ "jit" ]]; then
# https://github.com/ruby/rbs/issues/1636
unset RUBYOPT
fi
# third party modules
# Testing them only with main ruby, as some of them work weird with other variants.
if [[ "$RUBY_ENGINE" = "ruby" ]]; then