mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
install greadlink for old MacOS
This commit is contained in:
parent
b874968652
commit
cbdcce3ff3
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
|
@ -28,5 +28,10 @@ jobs:
|
|||
# run: |
|
||||
# echo $PYENV_ROOT
|
||||
# echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
|
||||
# macos-11 Github Actions env has an old `readlink` and lacks `greadlink` which causes Bats to break
|
||||
- run: |
|
||||
if [[ $RUNNER_OD == "macOS" ]] && [[ $(sw_vers -productVersion | awk -F. '{print $1}') -lt 12 ]]; then
|
||||
brew install coreutils
|
||||
fi
|
||||
- run: git clone https://github.com/bats-core/bats-core.git --depth=1 -b v1.2.0 bats
|
||||
- run: bats/bin/bats --tap test
|
||||
|
|
|
|||
Loading…
Reference in a new issue