Skip to content

Commit

Permalink
fix: install 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed May 21, 2024
1 parent cdcf3f8 commit 92e1834
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ jobs:
# mongo-version: "4.4"

steps:
- name: deleting python 3.8 & installing python 3.11
run: |
sudo apt-get -y purge python3.8 && \
sudo apt-get -y autoremove && \
sudo add-apt-repository ppa:deadsnakes/ppa -y && \
sudo apt-get install python3.11 python3.11-dev python3.11-distutils -y
- name: install mongo version
run: |
if [[ "${{ matrix.mongo-version }}" != "4.4" ]]; then
Expand All @@ -74,7 +81,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: checkout repo
uses: actions/checkout@v3
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/verify-gha-unit-tests-count.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ jobs:
if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false))
runs-on: ubuntu-20.04
steps:
- name: deleting python 3.8 & installing python 3.11
run: |
sudo apt-get -y purge python3.8 && \
sudo apt-get -y autoremove && \
sudo add-apt-repository ppa:deadsnakes/ppa -y && \
sudo apt-get install python3.11 python3.11-dev python3.11-distutils -y
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'

- uses: actions/checkout@v2
- name: install requirements
Expand Down

0 comments on commit 92e1834

Please sign in to comment.