diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d468aea2..ecdc1921 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,7 @@ jobs: matrix: python-version: [ 3.9, "3.10", "3.11", "3.12" ] # latest release minus two requirements-file: [ + dj50_cms41.txt, dj42_cms41.txt, dj32_cms40.txt, ] diff --git a/tests/requirements/dj50_cms41.txt b/tests/requirements/dj50_cms41.txt new file mode 100644 index 00000000..53ea1d28 --- /dev/null +++ b/tests/requirements/dj50_cms41.txt @@ -0,0 +1,7 @@ +-r ./requirements_base.txt + +Django>=5.0,<5.1 +django-cms>=4.1,<4.2 + +djangocms-versioning>=2.0.0 +djangocms-alias>=2.0.0 diff --git a/tests/settings.py b/tests/settings.py index d9a7fea6..067e6670 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -1,5 +1,6 @@ from cms import __version__ as cms_version + HELPER_SETTINGS = { "SECRET_KEY": "moderationtestsuitekey", "INSTALLED_APPS": [ diff --git a/tests/test_monkeypatch.py b/tests/test_monkeypatch.py index 29b73e43..c6c512ed 100644 --- a/tests/test_monkeypatch.py +++ b/tests/test_monkeypatch.py @@ -6,8 +6,7 @@ from cms.models import PageContent from cms.models.fields import PlaceholderRelationField -from djangocms_versioning import __version__ as versioning_version -from djangocms_versioning import versionables +from djangocms_versioning import __version__ as versioning_version, versionables from djangocms_versioning.admin import VersionAdmin from djangocms_versioning.constants import DRAFT, PUBLISHED from djangocms_versioning.test_utils.factories import (