summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-09-04 12:03:28 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-09-04 12:03:28 +0900
commit1e30d0af7d0258bd3a9e6b072e6517f8db78f853 (patch)
treec22931a7bbc03071df0d3ae632ae0f9e7be88982 /.github
parentb0d0b850bc61e158fb7caac4123af824b12938f1 (diff)
`$JOBS` does not set in `env:`
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml7
-rw-r--r--.github/workflows/ubuntu.yml3
2 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index ee48db79c8..a2ef459cb4 100644
--- a/.github/workflows/macos.yml
+++ b/.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
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index a6ec9f9cf7..69d2524e98 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.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.