From 9936982f47e2fabe3b1ea1c0d2dfbbe06fd5af0a Mon Sep 17 00:00:00 2001 From: Kiran Niranjan Date: Thu, 9 Nov 2023 08:30:46 +0530 Subject: [PATCH] install python to 3.11 --- .github/workflows/ci.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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: