diff --git a/.github/workflows/compatibility-test.yml b/.github/workflows/compatibility-test.yml index 34d2778..67aabcd 100644 --- a/.github/workflows/compatibility-test.yml +++ b/.github/workflows/compatibility-test.yml @@ -424,10 +424,10 @@ jobs: - name: Install mysql on macos if: ${{ matrix.os == 'macos-14' }} run: | - brew install mysql + brew install mysql-client + export PKG_CONFIG_PATH="/opt/homebrew/opt/mysql-client/lib/pkgconfig" cd example_code/ruby - # https://github.com/Homebrew/homebrew-core/issues/130258 - gem install mysql2 -- --with-mysql-dir=$(brew --prefix mysql) + gem install mysql2 ruby ConnectTest.rb ${{needs.setup.outputs.TIDB_CLOUD_HOST}} ${{needs.setup.outputs.TIDB_CLOUD_USER}} ${{ secrets.TIDB_CLOUD_PASSWORD }} - name: Run test on ubuntu if: ${{ matrix.os == 'ubuntu-24.04' }}