Skip to content

Commit

Permalink
CI debugging (#1086)
Browse files Browse the repository at this point in the history
Deactivate warnings test on JRuby due to jruby/jruby#8200
  • Loading branch information
PragTob committed Apr 15, 2024
1 parent 862c937 commit a9a9dcc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile.lock
Expand Up @@ -189,6 +189,7 @@ PLATFORMS
java
ruby
universal-java-1.8
universal-java-11

DEPENDENCIES
activesupport (~> 6.1)
Expand Down
10 changes: 9 additions & 1 deletion features/support/env.rb
Expand Up @@ -35,7 +35,15 @@

Before("@process_fork") do
# Process.fork is NotImplementedError in jruby
skip_this_scenario if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
skip_this_scenario if jruby?
end

Before("@no_jruby") do
skip_this_scenario if jruby?
end

def jruby?
defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
end

Aruba.configure do |config|
Expand Down
3 changes: 2 additions & 1 deletion features/warnings.feature
@@ -1,4 +1,5 @@
@rspec
# deactivating on JRuby due to https://github.com/jruby/jruby/issues/8200
@rspec @no_jruby
Feature:

Running SimpleCov with verbosity enabled does not yield warnings.
Expand Down

0 comments on commit a9a9dcc

Please sign in to comment.