From 80890e681a67cdb88953fe6e4840cb257af90171 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 20 Mar 2023 12:15:27 +0900 Subject: Disable `-w` on bundler and bundled gems tests --- .github/workflows/ubuntu.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.github') 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" -- cgit v1.2.1