summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-03-20 12:15:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-03-20 12:49:58 +0900
commit80890e681a67cdb88953fe6e4840cb257af90171 (patch)
tree1b5afddcdc579e937f48b5b829181287798e2240 /.github
parent4f350dbfdd84abbf8cda3974d5d9d79bd0f71f33 (diff)
downloadruby-80890e681a67cdb88953fe6e4840cb257af90171.tar.gz
Disable `-w` on bundler and bundled gems tests
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ubuntu.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 6ba858acb3..2c10e970b9 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -101,8 +101,10 @@ jobs:
$SETARCH ./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}'
if: ${{ matrix.test_task == 'check' }}
- name: make ${{ matrix.test_task }}
- run: |
- $SETARCH make -s ${{ matrix.test_task }} ${TESTS:+TESTS=`echo "$TESTS" | sed 's| |$$/ -n!/|g;s|^|-n!/|;s|$|$$/|'`} RUBYOPT=-w
+ run: >-
+ $SETARCH make -s ${{ matrix.test_task }}
+ ${TESTS:+TESTS=`echo "$TESTS" | sed 's| |$$/ -n!/|g;s|^|-n!/|;s|$|$$/|'`}
+ ${{ contains(matrix.test_task, 'bundle') && '' || 'RUBYOPT=-w' }}
timeout-minutes: 40
env:
RUBY_TESTOPTS: "-q --tty=no"