summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-12 08:23:27 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-14 22:51:39 +0900
commit060f31bb132afe20547a61d490d86fa509c59f26 (patch)
treee2c50fdf654e2dd4841e53b914d8174e9e19fdd9 /spec/spec_helper.rb
parent7a971a3aaaf9e61456749ab7da4bd4c99575f29e (diff)
downloadbundler-060f31bb132afe20547a61d490d86fa509c59f26.tar.gz
Re-use GITHUB_ACTION variables for filtering bundler examples.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 80e6d475f3..6810fcf3ce 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -71,7 +71,7 @@ RSpec.configure do |config|
config.filter_run_excluding :git => RequirementChecker.against(git_version)
config.filter_run_excluding :bundler => RequirementChecker.against(Bundler::VERSION.split(".")[0])
config.filter_run_excluding :ruby_repo => !(ENV["BUNDLE_RUBY"] && ENV["BUNDLE_GEM"]).nil?
- config.filter_run_excluding :non_windows => Gem.win_platform? || ENV["CI"]
+ config.filter_run_excluding :no_color_tty => Gem.win_platform? || !!ENV["GITHUB_ACTION"]
config.filter_run_when_matching :focus unless ENV["CI"]