Skip to content

Commit

Permalink
GitHub Actions: Set the default value to allow-failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
junaruga committed Mar 22, 2021
1 parent 9c8cf07 commit 70ab0dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
# Run all the tests on the new environment as much as possible.
# https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.allow-failure }}
continue-on-error: ${{ matrix.allow-failure || false }}
strategy:
matrix:
os:
Expand All @@ -26,15 +26,14 @@ jobs:
- 2.2
- 2.1
db: ['']
allow-failure: [false]
include:
# Allow failure due to Mysql2::Error: Unknown system variable 'session_track_system_variables'.
- {os: ubuntu-16.04, ruby: 2.4, db: mariadb10.0, allow-failure: true}
# Comment out due to ci/setup.sh stucking.
# - {os: ubuntu-18.04, ruby: 2.4, db: mariadb10.1, allow-failure: false}
# - {os: ubuntu-18.04, ruby: 2.4, db: mariadb10.1}
# `service mysql restart` fails.
- {os: ubuntu-20.04, ruby: 2.4, db: mariadb10.3, allow-failure: true}
- {os: ubuntu-18.04, ruby: 2.4, db: mysql57, allow-failure: false}
- {os: ubuntu-18.04, ruby: 2.4, db: mysql57}
# Allow failure due to the issue #1165.
- {os: ubuntu-20.04, ruby: 2.4, db: mysql80, allow-failure: true}
- {os: ubuntu-18.04, ruby: 'head', db: '', allow-failure: true}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
name: >-
${{ matrix.distro }} ${{ matrix.image }}
runs-on: ubuntu-20.04 # focal
continue-on-error: ${{ matrix.allow-failure }}
continue-on-error: ${{ matrix.allow-failure || false }}
strategy:
matrix:
include:
- {distro: centos, image: 'centos:7', allow-failure: false}
- {distro: centos, image: 'centos:7'}
# Fedora latest stable version
# Allow failure due to the following test failures.
# https://github.com/brianmario/mysql2/issues/965
Expand Down

0 comments on commit 70ab0dc

Please sign in to comment.