Skip to content

Commit

Permalink
$JOBS does not set in env:
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Sep 4, 2019
1 parent b0d0b85 commit 1e30d0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/macos.yml
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ubuntu.yml
Expand Up @@ -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.
Expand Down

0 comments on commit 1e30d0a

Please sign in to comment.