From 247db900c2eadc036b25bd2d88b5185618eaba64 Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Thu, 21 Sep 2023 16:00:12 +0900 Subject: [PATCH] Handle test failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Disable `fail-fast` * Allow fails on `master-nightly-focal` if it’s not PR --- .github/workflows/ruby.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index ea7dda7a8..401da0830 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -11,6 +11,7 @@ jobs: test: runs-on: "ubuntu-latest" strategy: + fail-fast: false matrix: container_tag: - master-nightly-focal @@ -30,6 +31,9 @@ jobs: job: stdlib_test - container_tag: 3.1-dev-focal job: stdlib_test + include: + - container_tag: master-nightly-focal + allow_failures: "true" container: image: rubylang/ruby:${{ matrix.container_tag }} steps: @@ -66,6 +70,7 @@ jobs: - name: Run test run: | bundle exec rake ${{ matrix.job }} + continue-on-error: ${{ matrix.allow_failures == 'true' && (github.event_name == 'push' || github.event_name == 'merge_group') }} windows: runs-on: ${{ matrix.os }}