forked from brianmario/mysql2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MacOS cases without the SSL directory env.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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 | ||
|