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

ruby-changes:57161

From: Takashi <ko1@a...>
Date: Mon, 19 Aug 2019 09:44:13 +0900 (JST)
Subject: [ruby-changes:57161] Takashi Kokubun: d106f08291 (master): Stop reporting test-bundled-gems results

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

From d106f082915cbab454d5a7dc3661cea5136f42cf Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Mon, 19 Aug 2019 09:41:51 +0900
Subject: Stop reporting test-bundled-gems results

by marking continue-on-error.

I dropped it to test Slack notification, and I finished to test it.

diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index f7935c9..d9d7c08 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -47,6 +47,14 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L47
         env:
           TESTOPTS: "$JOBS -q --tty=no"
           MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies
+        if: matrix.test_task != 'test-bundled-gems'
+      # test-bundled-gems is separated for marking `continue-on-error` because it randomly fails.
+      - name: Tests
+        run: make -s ${{ matrix.test_task }}
+        env:
+          TESTOPTS: "$JOBS -q --tty=no"
+        continue-on-error: true
+        if: matrix.test_task == 'test-bundled-gems'
       - name: Leaked Globals
         run: make -s leaked-globals
       - uses: k0kubun/action-slack@v...
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 4c2d084..210dcce 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -50,6 +50,14 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L50
         env:
           TESTOPTS: "$JOBS -q --tty=no"
           MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies
+        if: matrix.test_task != 'test-bundled-gems'
+      # test-bundled-gems is separated for marking `continue-on-error` because it randomly fails.
+      - name: Tests
+        run: make -s ${{ matrix.test_task }}
+        env:
+          TESTOPTS: "$JOBS -q --tty=no"
+        continue-on-error: true
+        if: matrix.test_task == 'test-bundled-gems'
       - name: Leaked Globals
         run: make -s leaked-globals
       - uses: k0kubun/action-slack@v...
-- 
cgit v0.10.2


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

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