Skip to content

Commit

Permalink
👷 change CI to CMS 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Coperh committed Nov 6, 2024
1 parent a96641a commit 1fc962d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
python-version: ["3.11", "3.10", "3.9"]
django: [42, 41, 32]
cms: [311, 39]
cms: [4]
continue-on-error: [true]
exclude:
- django: 41
Expand Down
3 changes: 2 additions & 1 deletion cms_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ def gettext(s):
NOSE_ARGS=[
"-s",
],
CMS_CONFIRM_VERSION4=True,
ROOT_URLCONF="tests.test_utils.urls",
INSTALLED_APPS=[
"easy_thumbnails",
"filer",
"taggit",
"taggit_autosuggest",
"meta",
"djangocms_page_tags",
# "djangocms_page_tags",
"tests.test_utils",
],
LANGUAGE_CODE="en",
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers =
[options]
include_package_data = True
install_requires =
django-cms>=3.7,<4.0
django-cms~=4.1
django-meta>=2.4.0
django-filer>=3.0
setup_requires =
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ envlist =
ruff
pypi-description
towncrier
py{311,310,39}-django{42,41}-cms{311}
py{311,310,39}-django{32}-cms{311,39}
py{311,310,39}-django{42,32}-cms4
minversion = 3.22

[testenv]
Expand All @@ -18,8 +17,7 @@ deps =
django32: Django~=3.2.0
django41: Django~=4.1.0
django42: Django~=4.2.0
cms39: https://github.com/django-cms/django-cms/archive/release/3.9.x.zip
cms311: https://github.com/yakky/django-cms/archive/release/3.11.x.zip
cms4: django-cms~=4.1.0
djangocms-page-tags>=1.0.0
-r{toxinidir}/requirements-test.txt
passenv =
Expand Down

0 comments on commit 1fc962d

Please sign in to comment.