Skip to content

Commit

Permalink
Add MacOS cases without the SSL directory env.
Browse files Browse the repository at this point in the history
  • Loading branch information
junaruga committed Jan 13, 2023
1 parent 2fac913 commit 3ff8199
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
jobs:
build:
name: >-
${{ matrix.os }} ruby ${{ matrix.ruby }} ${{ matrix.db }}
${{ matrix.os }} ruby ${{ matrix.ruby }} ${{ matrix.db }} ${{ matrix.extra || '' }}
# 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 }}
Expand Down Expand Up @@ -45,20 +45,24 @@ jobs:
# MariaDB lastet version
# Allow failure due to the following test failures that rarely happens.
# https://github.com/brianmario/mysql2/issues/1194
- {os: macos-latest, ruby: '2.6', db: mariadb, allow-failure: true, env: {}}
- os: macos-latest
ruby: '2.6'
db: mariadb
allow-failure: true
env:
RUBY_MYSQL2_HOMEBREW_SSL_DIR: '/usr/local/opt/[email protected]'
extra: 'with RUBY_MYSQL2_HOMEBREW_SSL_DIR'
# MySQL latest version
# Allow failure due to the issue #1194.
- {os: macos-latest, ruby: '2.6', db: mysql, allow-failure: true, env: {}}
- os: macos-latest
ruby: '2.6'
db: mysql
allow-failure: true
env:
RUBY_MYSQL2_HOMEBREW_SSL_DIR: '/usr/local/opt/[email protected]'
extra: 'with RUBY_MYSQL2_HOMEBREW_SSL_DIR'
# On the fail-fast: true, it cancels all in-progress jobs
# if any matrix job fails unlike Travis fast_finish.
fail-fast: false
Expand Down

0 comments on commit 3ff8199

Please sign in to comment.