diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65dfe8b6..de65f7a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/openssl@1.1' + 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/openssl@1.1' + 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