[前][次][番号順一覧][スレッド一覧]

ruby-changes:56928

From: Hiroshi <ko1@a...>
Date: Sun, 11 Aug 2019 12:26:33 +0900 (JST)
Subject: [ruby-changes:56928] Hiroshi SHIBATA: bb2f24251f (master): GitHub Actions does not support ANSI color code. Skip failing examples.

https://git.ruby-lang.org/ruby.git/commit/?id=bb2f24251f

From bb2f24251f011d64d369d78f344e298cc9486473 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Sun, 11 Aug 2019 08:10:40 +0900
Subject: GitHub Actions does not support ANSI color code. Skip failing
 examples.


diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 44f3cfd..9599c5d 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -37,5 +37,6 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L37
         env:
           TESTOPTS: "$JOBS -q --tty=no"
           MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies
+          CI: "true"
       - name: Leaked Globals
         run: make -s leaked-globals
diff --git a/spec/bundler/spec_helper.rb b/spec/bundler/spec_helper.rb
index e1e730e..53e5999 100644
--- a/spec/bundler/spec_helper.rb
+++ b/spec/bundler/spec_helper.rb
@@ -73,7 +73,7 @@ RSpec.configure do |config| https://github.com/ruby/ruby/blob/trunk/spec/bundler/spec_helper.rb#L73
   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"]
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]