summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-11 06:26:17 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-11 12:17:22 +0900
commite7996e0fd6718fa13b5cd5328f1bb6393a45392c (patch)
tree0c022028aa1725eeb532abaad3ce0223fc1336d9 /.github/workflows/macos.yml
parent6017e81b033d9eb8ab66dc1bd3402f51155761f1 (diff)
Try to migrate test-bundler to Actions.
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index f05976b551..e3b44cd4e8 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -9,6 +9,9 @@ on:
jobs:
latest:
runs-on: macos-latest
+ strategy:
+ matrix:
+ test_task: [ "test-all", "test-spec", "test-bundler" ]
steps:
- name: Disable Firewall
run: |
@@ -31,9 +34,10 @@ jobs:
- run: make $JOBS
- name: make test
run: make -s test TESTOPTS="$JOBS -q --tty=no"
- - name: make test-all
- run: make -s test-all TESTOPTS="$JOBS -q --tty=no"
- - name: make test-spec
- run: make -s test-spec MSPECOPT=-ff # not using `-j` because sometimes `mspec -j` silently dies
+ - name: make test-*
+ run: make -s ${{ matrix.test_task }}
+ env:
+ TESTOPTS: "$JOBS -q --tty=no"
+ MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies
- name: Leaked Globals
run: make -s leaked-globals