workflows/tests: workaround GitHub Actions python issues.

As-is there's a Python installed but not properly linked which breaks
anything that depends on Python being installed on macOS e.g.
Subversion.
This commit is contained in:
Mike McQuaid 2023-08-26 12:25:22 +01:00
parent 3c8b4949ba
commit 298003b181
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -363,7 +363,10 @@ jobs:
- name: Install brew tests macOS dependencies
if: runner.os != 'Linux'
run: brew install subversion
run: |
# Workaround GitHub Actions Python issues
brew unlink python && brew link --overwrite python
brew install subversion
# brew tests doesn't like world writable directories
- name: Cleanup permissions