Skip to content

Commit

Permalink
add django 5.0 for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Mar 12, 2024
1 parent 1685a78 commit 2980c12
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
Expand Down
7 changes: 7 additions & 0 deletions tests/requirements/dj50_cms41.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from cms import __version__ as cms_version


HELPER_SETTINGS = {
"SECRET_KEY": "moderationtestsuitekey",
"INSTALLED_APPS": [
Expand Down
3 changes: 1 addition & 2 deletions tests/test_monkeypatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 2980c12

Please sign in to comment.