[前][次][番号順一覧][スレッド一覧]

ruby-changes:56927

From: Hiroshi <ko1@a...>
Date: Sun, 11 Aug 2019 12:18:05 +0900 (JST)
Subject: [ruby-changes:56927] Hiroshi SHIBATA: e7996e0fd6 (master): Try to migrate test-bundler to Actions.

https://git.ruby-lang.org/ruby.git/commit/?id=e7996e0fd6

From e7996e0fd6718fa13b5cd5328f1bb6393a45392c Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Sun, 11 Aug 2019 06:26:17 +0900
Subject: Try to migrate test-bundler to Actions.


diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index f05976b..e3b44cd 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -9,6 +9,9 @@ on: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L9
 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L34
       - 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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]