Skip to content

Commit a9a9dcc

Browse files
authored
CI debugging (#1086)
Deactivate warnings test on JRuby due to jruby/jruby#8200
1 parent 862c937 commit a9a9dcc

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ PLATFORMS
189189
java
190190
ruby
191191
universal-java-1.8
192+
universal-java-11
192193

193194
DEPENDENCIES
194195
activesupport (~> 6.1)

features/support/env.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@
3535

3636
Before("@process_fork") do
3737
# Process.fork is NotImplementedError in jruby
38-
skip_this_scenario if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
38+
skip_this_scenario if jruby?
39+
end
40+
41+
Before("@no_jruby") do
42+
skip_this_scenario if jruby?
43+
end
44+
45+
def jruby?
46+
defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
3947
end
4048

4149
Aruba.configure do |config|

features/warnings.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
@rspec
1+
# deactivating on JRuby due to https://github.com/jruby/jruby/issues/8200
2+
@rspec @no_jruby
23
Feature:
34

45
Running SimpleCov with verbosity enabled does not yield warnings.

0 commit comments

Comments
 (0)