mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-18 01:45:59 +08:00
Set HOMEBREW_NO_INSTALL_CLEANUP to speedup brew installs (#9713)
This commit is contained in:
4
.github/workflows/daily.yml
vendored
4
.github/workflows/daily.yml
vendored
@@ -18,6 +18,8 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Speedup brew install. Environments are isolated, no need to cleanup old versions
|
||||
NONINTERACTIVE: 1 # Required for brew install on CI
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||
FORCE_COLOR: 1
|
||||
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
|
||||
@@ -81,7 +83,7 @@ jobs:
|
||||
PYTHON_EXECUTABLE="xvfb-run python"
|
||||
else
|
||||
if [ "${{ runner.os }}" = "macOS" ] && [ -n "$PACKAGES" ]; then
|
||||
NONINTERACTIVE=1 brew install $PACKAGES
|
||||
brew install $PACKAGES
|
||||
fi
|
||||
|
||||
if [ "${{ runner.os }}" = "Windows" ] && [ -n "$PACKAGES" ]; then
|
||||
|
||||
4
.github/workflows/stubtest_third_party.yml
vendored
4
.github/workflows/stubtest_third_party.yml
vendored
@@ -12,6 +12,8 @@ permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Speedup brew install. Environments are isolated, no need to cleanup old versions
|
||||
NONINTERACTIVE: 1 # Required for brew install on CI
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||
FORCE_COLOR: 1
|
||||
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
|
||||
@@ -70,7 +72,7 @@ jobs:
|
||||
else
|
||||
if [ "${{ runner.os }}" = "macOS" ] && [ -n "$PACKAGES" ]; then
|
||||
echo "Installing Homebrew packages: $PACKAGES"
|
||||
NONINTERACTIVE=1 brew install $PACKAGES
|
||||
brew install $PACKAGES
|
||||
fi
|
||||
|
||||
if [ "${{ runner.os }}" = "Windows" ] && [ -n "$PACKAGES" ]; then
|
||||
|
||||
Reference in New Issue
Block a user