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

ruby-changes:59593

From: Takashi <ko1@a...>
Date: Wed, 1 Jan 2020 08:30:04 +0900 (JST)
Subject: [ruby-changes:59593] 47c84c74d4 (master): Make test run condition consistent with other jobs

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

From 47c84c74d4d8c84fd8e58527069548c7b0c2ad3d Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Tue, 31 Dec 2019 15:27:40 -0800
Subject: Make test run condition consistent with other jobs

When `make all` fails, we should not run tests and output of such run is
confusing.

diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index ae3ce05..f4bbc3c 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -117,7 +117,6 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L117
           make -C build test
 
       - name: test-all
-        if: success() || failure()
         timeout-minutes: 25
         run: |
           $env:TMPDIR = "$pwd/temp"
@@ -129,7 +128,6 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L128
           make -C build test-all TESTOPTS="-j $jobs --retry --job-status=normal --show-skip --timeout-scale=1.5"
 
       - name: test-spec
-        if: success() || failure()
         timeout-minutes: 10
         run: |
           $env:TMPDIR = "$pwd/temp"
-- 
cgit v0.10.2


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

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