summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-11 08:10:40 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-14 22:51:25 +0900
commit7a971a3aaaf9e61456749ab7da4bd4c99575f29e (patch)
tree1951bd5f51da531ba23bdd71cf97f73f9280781a
parent907f259be9d71b11bf96d780db74a929fb3b97cb (diff)
downloadbundler-7a971a3aaaf9e61456749ab7da4bd4c99575f29e.tar.gz
GitHub Actions does not support ANSI color code. Skip failing examples.
-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 103827a355..80e6d475f3 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?
+ config.filter_run_excluding :non_windows => Gem.win_platform? || ENV["CI"]
config.filter_run_when_matching :focus unless ENV["CI"]