build: Update more workflows to test on Python 3.11
This commit is contained in:
2
.github/workflows/ci-static-analysis.yml
vendored
2
.github/workflows/ci-static-analysis.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/js-tests.yml
vendored
2
.github/workflows/js-tests.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
node-version: [ 18 ]
|
||||
python-version: [ 3.8 ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
|
||||
steps:
|
||||
|
||||
|
||||
2
.github/workflows/lint-imports.yml
vendored
2
.github/workflows/lint-imports.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/migrations-check.yml
vendored
6
.github/workflows/migrations-check.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/pylint-checks.yml
vendored
2
.github/workflows/pylint-checks.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/quality-checks.yml
vendored
2
.github/workflows/quality-checks.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/semgrep.yml
vendored
2
.github/workflows/semgrep.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/static-assets-check.yml
vendored
2
.github/workflows/static-assets-check.yml
vendored
@@ -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"]
|
||||
|
||||
2
.github/workflows/unit-tests-gh-hosted.yml
vendored
2
.github/workflows/unit-tests-gh-hosted.yml
vendored
@@ -87,7 +87,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ '3.8' ]
|
||||
python-version: [ '3.11' ]
|
||||
django-version:
|
||||
- "pinned"
|
||||
steps:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ '3.8' ]
|
||||
python-version: [ '3.8', '3.11', '3.12']
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
Reference in New Issue
Block a user