diff options
author | Bernát Gábor <bgabor8@bloomberg.net> | 2020-07-06 11:14:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 11:14:49 +0100 |
commit | 255a6d5cc74e3b1e3ec66243726abdc3ba2ae3d4 (patch) | |
tree | 917b13edadfcd2fc726ae53b75ecf459086e370d | |
parent | 260a26a7312fbb50fa65f7861771470c4704a3e1 (diff) | |
download | virtualenv-255a6d5cc74e3b1e3ec66243726abdc3ba2ae3d4.tar.gz |
Fix homebrew python install (#1889)
-rw-r--r-- | .github/workflows/check.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f120de3..2e66819 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -72,7 +72,7 @@ jobs: run: | import os; import subprocess version = "${{matrix.py}}"[-1] - subprocess.check_call(["brew", "install", f"python@{version}"]) + subprocess.check_call(["bash", "-c", f"brew list python@{version} && brew upgrade python@{version} || brew install python@{version}"]) print(f"::add-path::/usr/local/opt/python@{version}") shell: python - name: pick environment to run |