`$JOBS` does not set in `env:`

This commit is contained in:
Kazuhiro NISHIYAMA 2019-09-04 12:03:28 +09:00
Родитель b0d0b850bc
Коммит 1e30d0af7d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 262ED8DBB4222F7A
2 изменённых файлов: 3 добавлений и 7 удалений

7
.github/workflows/macos.yml поставляемый
Просмотреть файл

@ -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

3
.github/workflows/ubuntu.yml поставляемый
Просмотреть файл

@ -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.