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

ruby-changes:57528

From: Kazuhiro <ko1@a...>
Date: Wed, 4 Sep 2019 12:04:01 +0900 (JST)
Subject: [ruby-changes:57528] 1e30d0af7d (master): `$JOBS` does not set in `env:`

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

From 1e30d0af7d0258bd3a9e6b072e6517f8db78f853 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Wed, 4 Sep 2019 12:03:28 +0900
Subject: `$JOBS` does not set in `env:`


diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index ee48db7..a2ef459 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -41,16 +41,13 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L41
         run: ./configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@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 a6ec9f9..69d2524 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -44,9 +44,8 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L44
         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.
-- 
cgit v0.10.2


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

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