Skip to content

Commit

Permalink
Disable -w on bundler and bundled gems tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Mar 20, 2023
1 parent 4f350db commit 80890e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ubuntu.yml
Expand Up @@ -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"
Expand Down

0 comments on commit 80890e6

Please sign in to comment.