diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54396a2cd..51e13bdbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,15 +21,10 @@ jobs: - name: install linux dependency if: startsWith(matrix.os,'ubuntu') run: sudo apt-get install libxtst-dev - - 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 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.11 - run: npm install - run: npm test env: