build: Drop testing with Mongo 4.4 and Python 3.8
This commit is contained in:
@@ -40,7 +40,7 @@ jobs:
|
||||
- uses: actions/setup-python@v4
|
||||
if: ${{ env.RELEVANT == 'true' }}
|
||||
with:
|
||||
python-version: '3.8'
|
||||
python-version: '3.11'
|
||||
|
||||
- name: "Recompile requirements"
|
||||
if: ${{ env.RELEVANT == 'true' }}
|
||||
|
||||
3
.github/workflows/ci-static-analysis.yml
vendored
3
.github/workflows/ci-static-analysis.yml
vendored
@@ -8,7 +8,8 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.8', '3.11']
|
||||
python-version:
|
||||
- '3.11'
|
||||
os: ['ubuntu-20.04']
|
||||
|
||||
steps:
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
- name: Set up Python environment
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.8"
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Run make compile-requirements
|
||||
env:
|
||||
|
||||
3
.github/workflows/js-tests.yml
vendored
3
.github/workflows/js-tests.yml
vendored
@@ -14,7 +14,8 @@ jobs:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
node-version: [ 18 ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
python-version:
|
||||
- '3.11'
|
||||
|
||||
steps:
|
||||
|
||||
|
||||
6
.github/workflows/migrations-check.yml
vendored
6
.github/workflows/migrations-check.yml
vendored
@@ -14,12 +14,14 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
python-version:
|
||||
- '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
|
||||
django-version: ["pinned"]
|
||||
mongo-version: ["4", "7"]
|
||||
mongo-version:
|
||||
- "7"
|
||||
mysql-version: ["8"]
|
||||
services:
|
||||
mongo:
|
||||
|
||||
3
.github/workflows/quality-checks.yml
vendored
3
.github/workflows/quality-checks.yml
vendored
@@ -14,7 +14,8 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
python-version:
|
||||
- '3.11'
|
||||
node-version: [ 18 ]
|
||||
|
||||
steps:
|
||||
|
||||
3
.github/workflows/semgrep.yml
vendored
3
.github/workflows/semgrep.yml
vendored
@@ -18,7 +18,8 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ "ubuntu-20.04" ]
|
||||
python-version: [ "3.8", '3.11' ]
|
||||
python-version:
|
||||
- '3.11'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
6
.github/workflows/static-assets-check.yml
vendored
6
.github/workflows/static-assets-check.yml
vendored
@@ -13,10 +13,12 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
python-version:
|
||||
- '3.11'
|
||||
node-version: [ 18 ]
|
||||
npm-version: [ 10.5.x ]
|
||||
mongo-version: ["4.4", "7.0"]
|
||||
mongo-version:
|
||||
- "7.0"
|
||||
|
||||
services:
|
||||
mongo:
|
||||
|
||||
29
.github/workflows/unit-tests-gh-hosted.yml
vendored
29
.github/workflows/unit-tests-gh-hosted.yml
vendored
@@ -15,7 +15,6 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- "3.8"
|
||||
- "3.11"
|
||||
django-version:
|
||||
- "pinned"
|
||||
@@ -39,21 +38,23 @@ jobs:
|
||||
- "xmodule-with-lms"
|
||||
- "xmodule-with-cms"
|
||||
mongo-version:
|
||||
- "4.4"
|
||||
- "7.0"
|
||||
|
||||
# We only need to test Mongo 4.4 for modules that directly interface with Mongo (that is: xmodule.modulestore)
|
||||
exclude:
|
||||
- mongo-version: "4.4"
|
||||
include:
|
||||
- shard_name: "xmodule-with-cms"
|
||||
python-version: "3.11"
|
||||
django-version: "pinned"
|
||||
mongo-version: "4.4"
|
||||
- shard_name: "xmodule-with-lms"
|
||||
python-version: "3.11"
|
||||
django-version: "pinned"
|
||||
mongo-version: "4.4"
|
||||
# We only need to test older versions of Mongo with modules that directly interface with Mongo (that is: xmodule.modulestore)
|
||||
# This code is left here as an example for future refernce in case we need to reduce the number of shards we're
|
||||
# testing but still have good confidence with older versions of mongo. We use Mongo 4.4 in the example.
|
||||
#
|
||||
# exclude:
|
||||
# - mongo-version: "4.4"
|
||||
# include:
|
||||
# - shard_name: "xmodule-with-cms"
|
||||
# python-version: "3.11"
|
||||
# django-version: "pinned"
|
||||
# mongo-version: "4.4"
|
||||
# - shard_name: "xmodule-with-lms"
|
||||
# python-version: "3.11"
|
||||
# django-version: "pinned"
|
||||
# mongo-version: "4.4"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
||||
32
.github/workflows/unit-tests.yml
vendored
32
.github/workflows/unit-tests.yml
vendored
@@ -14,7 +14,6 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- "3.8"
|
||||
- "3.11"
|
||||
django-version:
|
||||
- "pinned"
|
||||
@@ -38,21 +37,23 @@ jobs:
|
||||
- "xmodule-with-lms"
|
||||
- "xmodule-with-cms"
|
||||
mongo-version:
|
||||
- "4.4"
|
||||
- "7.0"
|
||||
|
||||
# We only need to test Mongo 4.4 for modules that directly interface with Mongo (that is: xmodule.modulestore)
|
||||
exclude:
|
||||
- mongo-version: "4.4"
|
||||
include:
|
||||
- shard_name: "xmodule-with-cms"
|
||||
python-version: "3.11"
|
||||
django-version: "pinned"
|
||||
mongo-version: "4.4"
|
||||
- shard_name: "xmodule-with-lms"
|
||||
python-version: "3.11"
|
||||
django-version: "pinned"
|
||||
mongo-version: "4.4"
|
||||
# We only need to test older versions of Mongo with modules that directly interface with Mongo (that is: xmodule.modulestore)
|
||||
# This code is left here as an example for future refernce in case we need to reduce the number of shards we're
|
||||
# testing but still have good confidence with older versions of mongo. We use Mongo 4.4 in the example.
|
||||
#
|
||||
# exclude:
|
||||
# - mongo-version: "4.4"
|
||||
# include:
|
||||
# - shard_name: "xmodule-with-cms"
|
||||
# python-version: "3.11"
|
||||
# django-version: "pinned"
|
||||
# mongo-version: "4.4"
|
||||
# - shard_name: "xmodule-with-lms"
|
||||
# python-version: "3.11"
|
||||
# django-version: "pinned"
|
||||
# mongo-version: "4.4"
|
||||
|
||||
steps:
|
||||
- name: sync directory owner
|
||||
@@ -157,7 +158,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ 3.8 ]
|
||||
python-version:
|
||||
- 3.11
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
@@ -12,7 +12,8 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ '3.8', '3.11', '3.12' ]
|
||||
python-version:
|
||||
- '3.12'
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
@@ -12,7 +12,8 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ '3.8', '3.11', '3.12']
|
||||
python-version:
|
||||
- '3.12'
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Set up Python environment
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.8"
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Update any pinned dependencies
|
||||
env:
|
||||
|
||||
@@ -14,6 +14,11 @@ jobs:
|
||||
- name: sync directory owner
|
||||
run: sudo chown runner:runner -R .*
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- name: install requirements
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user