From 260c1993dac263cb2652d4ba7426c47c075736c4 Mon Sep 17 00:00:00 2001 From: zhangyangyu Date: Mon, 17 Jun 2024 19:51:49 +0800 Subject: [PATCH] ruby --- .github/workflows/compatibility-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' }}