Skip to content

Commit

Permalink
fix ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyangyu authored Feb 14, 2025
1 parent 902c5bf commit fbb51ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,10 @@ jobs:
- name: Install mysql on macos
if: ${{ matrix.os == 'macos-14' }}
run: |
brew install mysql
brew install mysql@8.0
cd example_code/ruby
# https://github.com/Homebrew/homebrew-core/issues/130258
gem install mysql2 -- --with-mysql-dir=$(brew --prefix mysql)
gem install mysql2 -- --with-mysql-dir=$(brew --prefix mysql@8.0)
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' }}
Expand Down

0 comments on commit fbb51ac

Please sign in to comment.