Skip to content

Commit 1ab31c0

Browse files
ci: Fix MySQL installation issue on macOS (#3643)
Fix MySQL on macOS Signed-off-by: Felix Wang <wangfelix98@gmail.com>
1 parent 2e08e13 commit 1ab31c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/unit_tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
run: |
3131
brew install mysql
3232
PATH=$PATH:/usr/local/mysql/bin
33+
- name: Work around Homebrew MySQL being broken
34+
# See https://github.com/Homebrew/homebrew-core/issues/130258 for more details.
35+
if: startsWith(matrix.os, 'macOS')
36+
run: |
37+
brew install zlib
38+
ln -sv $(brew --prefix zlib)/lib/libz.dylib $(brew --prefix)/lib/libzlib.dylib
3339
- name: Upgrade pip version
3440
run: |
3541
pip install --upgrade pip

0 commit comments

Comments
 (0)