build: Update more workflows to test on Python 3.11

This commit is contained in:
Feanil Patel
2024-04-09 11:32:43 -04:00
parent e9d716375f
commit 325a7b91b2
11 changed files with 13 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8']
python-version: ['3.8', '3.11']
os: ['ubuntu-20.04']
steps:

View File

@@ -14,7 +14,7 @@ jobs:
matrix:
os: [ ubuntu-20.04 ]
node-version: [ 18 ]
python-version: [ 3.8 ]
python-version: [ '3.8', '3.11' ]
steps:

View File

@@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'
- name: Install system requirements
run: sudo apt update && sudo apt install -y libxmlsec1-dev

View File

@@ -14,10 +14,10 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]
python-version: [ '3.8', '3.11' ]
# 'pinned' is used to install the latest patch version of Django
# within the global constraint i.e. Django==4.2.8 in current case
# because we have global constraint of Django<4.2
# because we have global constraint of Django<4.2
django-version: ["pinned"]
mongo-version: ["4", "7"]
mysql-version: ["8"]
@@ -115,7 +115,7 @@ jobs:
./manage.py lms migrate
echo "Running the CMS migrations."
./manage.py cms migrate
# This job aggregates test results. It's the required check for branch protection.
# https://github.com/marketplace/actions/alls-green#why
# https://github.com/orgs/community/discussions/33579

View File

@@ -39,7 +39,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- name: Get pip cache dir
id: pip-cache-dir

View File

@@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]
python-version: [ '3.8', '3.11' ]
node-version: [ 18 ]
steps:

View File

@@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ "ubuntu-20.04" ]
python-version: [ "3.8" ]
python-version: [ "3.8", '3.11' ]
steps:
- uses: actions/checkout@v3

View File

@@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]
python-version: [ '3.8', '3.11' ]
node-version: [ 18 ]
npm-version: [ 10.5.x ]
mongo-version: ["4.4", "7.0"]

View File

@@ -87,7 +87,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ '3.8' ]
python-version: [ '3.11' ]
django-version:
- "pinned"
steps:

View File

@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.8', '3.12' ]
python-version: [ '3.8', '3.11', '3.12' ]
steps:
- name: Checkout code

View File

@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.8' ]
python-version: [ '3.8', '3.11', '3.12']
steps:
- name: Checkout code