fix(ci): remove mongodb from brew to avoid brew upgrade error (#15115)

macOS CI was failing because:

- brew upgrade fails because,
- mongodb-community cant upgrade because,
- some symlinks are owned by ...  mongodb-community...

We don't use mogodb, so we can just remove it wholesale.
This commit is contained in:
Oliver Marriott 2021-07-18 00:59:39 +10:00 committed by GitHub
parent d8f5f4d090
commit 5377b2b00a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,8 @@ jobs:
# Workaround brew issues
rm -f /usr/local/bin/2to3
brew update >/dev/null
# remove broken mongodb-community package
brew remove mongodb-community
brew upgrade
brew install automake ccache perl cpanminus ninja