Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: github coverage action #12

Merged
merged 3 commits into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,20 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ 3.8, 3.9, "3.10", "3.11"] # latest release minus two
python-version: [ 3.9, "3.10", "3.11", "3.12"] # latest release minus two
requirements-file: [
dj32_cms38.txt,
dj32_cms39.txt,
dj32_cms310.txt,
dj32_cms311.txt,
dj40_cms311.txt,
dj41_cms311.txt,
dj41_cms41.txt,
dj42_cms311.txt,
dj42_cms41.txt,
dj50_cms41.txt,
]
os: [
ubuntu-20.04,
]
exclude:
- python-version: 3.9
requirements-file: dj50_cms41.txt

steps:
- uses: actions/checkout@v3
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ["version"]
description = "Adds a form editor to the structure board of django CMS."
readme = "README.rst"
license.text = "BSD-3-Clause"
requires-python = ">=3.10"
requires-python = ">=3.9"
authors = [
{ name = "fsbraun", email = "[email protected]" },
]
Expand All @@ -24,22 +24,23 @@ classifiers = [
"Framework :: Django CMS :: 3.8",
"Framework :: Django CMS :: 3.9",
"Framework :: Django CMS :: 4.0",
"Framework :: Django CMS :: 4.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"django-cms>=3.7",
"django-cms>=3.10",
"django-entangled",
"Django>=3.2",
"djangocms-attributes-field>=1",
Expand Down
4 changes: 0 additions & 4 deletions tests/requirements/dj32_cms38.txt

This file was deleted.

4 changes: 0 additions & 4 deletions tests/requirements/dj32_cms39.txt

This file was deleted.

7 changes: 0 additions & 7 deletions tests/requirements/dj32_cms40.txt

This file was deleted.

5 changes: 0 additions & 5 deletions tests/requirements/dj40_cms311.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-r base.txt

django-filer>=2.2
Django>=4.1,<4.2
Django>=4.2,<4.3
django-cms>=3.11,<3.12
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r base.txt

Django>=4.1,<4.2
Django>=4.2,<4.3
django-cms>=4.1,<4.2
djangocms-text-ckeditor
djangocms-versioning
6 changes: 6 additions & 0 deletions tests/requirements/dj50_cms41.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-r base.txt

Django>=5.0,<5.1
django-cms>=4.1,<4.2
djangocms-text-ckeditor
djangocms-versioning
4 changes: 2 additions & 2 deletions tests/test_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def test_tag_type_field(self):
field = TagTypeField()
self.assertEqual(field.verbose_name, "Tag type")
self.assertEqual(
field.choices,
(("div", "div"),),
list(field.choices),
list((("div", "div"),)),
)
self.assertEqual(field.default, "div")
self.assertEqual(field.max_length, 255)
Expand Down
Loading