Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
# See issue https://github.com/actions/setup-python/issues/577. There is
# some kind of environment conflict between the symlinks found in the
# GitHub Actions runner and `brew upgrade python` where `brew` detects and
# refuses to overwrite symlinks. The cause for our runs is not clear,
# we do not use that action, but if that issue is closed this section
# can be removed.
- name: sanitize GHA / brew python environment
run: |
# Remove the symlinks that cause issues.
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
sudo rm -rf /Library/Frameworks/Python.framework/
# Run upgrades now to fail-fast (setup scripts do this anyway).
brew update && brew upgrade
- name: setup
run: ./scripts/continuous_integration/github_actions/macos_monterey/setup
shell: zsh -efuo pipefail {0}
Expand Down