Skip to content

Commit

Permalink
downgrade python to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
KiranNiranjan committed Nov 9, 2023
1 parent 2ca0f15 commit 98cd33a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
- name: install linux dependency
if: startsWith(matrix.os,'ubuntu')
run: sudo apt-get install libxtst-dev
- name: Install Python
if: startsWith(matrix.os,'macos')
run: brew install [email protected]
- name: Add Python to PATH
if: startsWith(matrix.os,'macos')
run: export PATH="/usr/local/opt/[email protected]/bin:$PATH"
- name: Install Python 3.11 using pyenv
if: startsWith(matrix.os, 'macos')
run: |
curl -fsSL https://pyenv.sh | bash
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
pyenv install 3.11
pyenv global 3.11
- run: npm install
- run: npm test
env:
Expand Down

0 comments on commit 98cd33a

Please sign in to comment.