Skip to content

Commit

Permalink
Handle test failure
Browse files Browse the repository at this point in the history
* Disable `fail-fast`
* Allow fails on `master-nightly-focal` if it’s not PR
  • Loading branch information
soutaro committed Sep 21, 2023
1 parent a49877b commit 247db90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
test:
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
container_tag:
- master-nightly-focal
Expand All @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 247db90

Please sign in to comment.