1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

$JOBS does not set in env:

This commit is contained in:
Kazuhiro NISHIYAMA 2019-09-04 12:03:28 +09:00
parent b0d0b850bc
commit 1e30d0af7d
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A
2 changed files with 3 additions and 7 deletions

View file

@ -41,16 +41,13 @@ jobs:
run: ./configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline)
- run: make $JOBS
- name: Tests
run: make -s ${{ matrix.test_task }}
run: make -s ${{ matrix.test_task }} TESTOPTS="$JOBS -q --tty=no"
env:
RUBY_TESTOPTS: "$JOBS -q --tty=no"
MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies
if: matrix.test_task != 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]')
# test-bundled-gems is separated for marking `continue-on-error` because it randomly fails.
- name: Tests
run: make -s ${{ matrix.test_task }}
env:
RUBY_TESTOPTS: "$JOBS -q --tty=no"
run: make -s ${{ matrix.test_task }} TESTOPTS="$JOBS -q --tty=no"
continue-on-error: true
if: matrix.test_task == 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]')
- name: Leaked Globals

View file

@ -44,9 +44,8 @@ jobs:
run: ./configure -C --disable-install-doc
- run: make $JOBS
- name: Tests
run: make -s ${{ matrix.test_task }}
run: make -s ${{ matrix.test_task }} TESTOPTS="$JOBS -q --tty=no"
env:
RUBY_TESTOPTS: "$JOBS -q --tty=no"
MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies
if: matrix.test_task != 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]')
# test-bundled-gems is separated for marking `continue-on-error` because it randomly fails.