Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does updating apt fix CI? #1438

Merged
merged 5 commits into from
Dec 16, 2023
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
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:

- name: Set up prerequisites and environment
run: |
sudo apt-get update -y -qq --fix-missing

echo ""
echo "----- Install sccache -----"
mkdir -p $HOME/.local/bin
Expand Down Expand Up @@ -276,6 +278,8 @@ jobs:

- name: Set up prerequisites and environment
run: |
sudo apt-get update -y -qq --fix-missing

echo ""

echo "----- Install / Set up sccache -----"
Expand Down Expand Up @@ -414,9 +418,12 @@ jobs:
- name: Workaround GitHub Actions Python issues
run: brew unlink python && brew link --overwrite python

# install postgres with homebrew, but do't let homebrew do an update too. The update
# process not only takes forever, but it tends to fail when the internet changes
# https://github.com/Homebrew/brew/issues/1670#issuecomment-267096602
- name: brew install postgresql
run: |
brew install ${FORMULA}
HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install ${FORMULA}

echo "$(brew --prefix ${FORMULA})/bin" >> $GITHUB_PATH
env:
Expand Down