workflows/tests: link python@3.8.

Investigated a full uninstall but it takes too long (>5m).
This commit is contained in:
Mike McQuaid 2020-07-08 11:12:26 +01:00
parent 20d28e26fe
commit 7c30fadc34
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -62,12 +62,12 @@ jobs:
- name: Run brew doctor - name: Run brew doctor
run: | run: |
# minimally fix brew doctor failures (a full clean takes ~5m)
if [ "$RUNNER_OS" = "Linux" ]; then if [ "$RUNNER_OS" = "Linux" ]; then
# Cleanup some Linux `brew doctor` failures
sudo rm -rf /usr/local/include/node/ sudo rm -rf /usr/local/include/node/
else else
# Link old gettext (otherwise `brew doctor` is sad) # link old formulae
brew link gettext brew link --overwrite --force gettext python@3.8
# remove deleted formula # remove deleted formula
brew uninstall --force python@2 brew uninstall --force python@2