Skip to content

Commit d1d29d3

Browse files
authored
Update precommit.yml
1 parent 7e508a8 commit d1d29d3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/precommit.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- uses: actions/checkout@v3
46-
46+
4747
- name: install infrastructure (Linux)
4848
if: startsWith( matrix.cfg.os, 'ubuntu-' )
4949
run: |
@@ -57,11 +57,8 @@ jobs:
5757
if: startsWith( matrix.cfg.os, 'macos-' )
5858
run: |
5959
brew --version
60-
brew install --overwrite python@${{ matrix.python-version }}
61-
python3 --version
62-
brew unlink python3
63-
brew link --force python@${{ matrix.python-version }}
64-
export PATH=/usr/local/bin:$PATH
60+
brew install pyenv
61+
pyenv install ${{ matrix.python-version }}
6562
python3 --version
6663
brew install python-packaging
6764
brew install numpy

0 commit comments

Comments
 (0)