Skip to content

feat: django-cms 4.1 Compatibility POC #61

feat: django-cms 4.1 Compatibility POC

feat: django-cms 4.1 Compatibility POC #61

Workflow file for this run

name: CodeCov
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
push:
branches:
- master
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.8, 3.9, '3.10', '3.11', '3.12']
requirements-file: [
dj32_cms40.txt,
dj42_cms40.txt,
dj42_cms41.txt,
]
exclude:
# CMS 4.0 does not support python 3.11+
- requirements-file: 'dj32_cms40.txt'
python-version: '3.11'
- requirements-file: 'dj32_cms40.txt'
python-version: '3.12'
- requirements-file: 'dj42_cms40.txt'
python-version: '3.11'
- requirements-file: 'dj42_cms40.txt'
python-version: '3.12'
# 3.8 is not required by django-cms 4.1+
- requirements-file: 'dj42_cms41.txt'
python-version: '3.8'
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: 'tests/requirements/*.txt'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements/${{ matrix.requirements-file }}
python setup.py install
- name: Run coverage
run: coverage run setup.py test