Skip to content

Commit

Permalink
Merge pull request #10770 from koic/fix_build_errors_on_circleci
Browse files Browse the repository at this point in the history
Fix build errors on CircleCI
  • Loading branch information
koic committed Jun 29, 2022
2 parents 27b0882 + f7935e5 commit 6e045fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -71,11 +71,11 @@

config.after(:suite) { RuboCop::Cop::Registry.reset! }

if %w[ruby-head-ascii_spec ruby-head-spec].include? ENV.fetch('CIRCLE_STAGE', nil)
if %w[ruby-head-ascii_spec ruby-head-spec].include? ENV.fetch('CIRCLE_JOB', nil)
config.filter_run_excluding broken_on: :ruby_head
end

if %w[jruby-9.3-ascii_spec jruby-9.3-spec].include? ENV.fetch('CIRCLE_STAGE', nil)
if %w[jruby-9.3-ascii_spec jruby-9.3-spec].include? ENV.fetch('CIRCLE_JOB', nil)
config.filter_run_excluding broken_on: :jruby
end
end
Expand Down

0 comments on commit 6e045fc

Please sign in to comment.