-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,9 +98,14 @@ jobs: | |
# https://github.com/pallets/click/issues/2121#issuecomment-1312773882 | ||
# https://gist.github.com/NodeJSmith/e7e37f2d3f162456869f015f842bcf15 | ||
PYTHONIOENCODING: "utf8" | ||
# Deactivate Homebrew auto-update and verbose output. | ||
# Deactivate Homebrew verbose output and auto-update. | ||
HOMEBREW_NO_ENV_HINTS: "1" | ||
HOMEBREW_NO_AUTO_UPDATE: "1" | ||
# Do not let brew use its live API to fetch the latest version. | ||
# This variable forces brew to use the local repository instead (which we need in destructive tests to checkout | ||
# formulas from the past): https://github.com/Homebrew/brew/blob/10845a1/Library/Homebrew/env_config.rb#L314-L317 | ||
# See: meta_package_manager/tests/test_manager_homebrew.py::TestCask test. | ||
HOMEBREW_NO_INSTALL_FROM_API: "1" | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
|
@@ -135,6 +140,12 @@ jobs: | |
run: | | ||
brew upgrade | ||
brew update | ||
- name: Homebrew - macOS cask repository copy | ||
if: runner.os == 'macOS' | ||
# Clone the full copy of the cask repository, so tests on macOS can locally checkout past versions of casks. | ||
# This is performed by the destructive meta_package_manager/tests/test_manager_homebrew.py::TestCask test. | ||
run: | | ||
brew tap homebrew/cask | ||
- name: Homebrew - Linux install | ||
if: runner.os == 'Linux' | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters