Skip to content

Commit e6e7fab

Browse files
authored
Add some more environment variables to speedup brew installs in CI (#9786)
1 parent 040103a commit e6e7fab

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/daily.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ concurrency:
1818
cancel-in-progress: true
1919

2020
env:
21-
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Speedup brew install. Environments are isolated, no need to cleanup old versions
21+
# A few env vars to speedup brew install
22+
HOMEBREW_NO_ANALYTICS: 1
23+
HOMEBREW_NO_AUTOUPDATE: 1
24+
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Environments are isolated, no need to cleanup old versions
2225
NONINTERACTIVE: 1 # Required for brew install on CI
2326
PIP_DISABLE_PIP_VERSION_CHECK: 1
2427
FORCE_COLOR: 1

.github/workflows/stubtest_third_party.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ permissions:
1212
contents: read
1313

1414
env:
15-
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Speedup brew install. Environments are isolated, no need to cleanup old versions
15+
# A few env vars to speedup brew install
16+
HOMEBREW_NO_ANALYTICS: 1
17+
HOMEBREW_NO_AUTOUPDATE: 1
18+
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Environments are isolated, no need to cleanup old versions
1619
NONINTERACTIVE: 1 # Required for brew install on CI
1720
PIP_DISABLE_PIP_VERSION_CHECK: 1
1821
FORCE_COLOR: 1

0 commit comments

Comments
 (0)