diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..b8405c2 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,6 @@ +[run] +source = fixture_magic + +[report] +omit = + tests diff --git a/setup.py b/setup.py index 5e3e892..8746692 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.0', 'Framework :: Django :: 4.1', + 'Framework :: Django :: 4.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', diff --git a/tox.ini b/tox.ini index ce5f508..1b4b54b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] envlist = py{37,38,39,310}-django{32} py{39,310}-django{40} - py{39,310}-django{41} + py{39,310,311}-django{41} + py{39,310,311}-django{42} [travis] python = @@ -9,6 +10,8 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 + 3.12: py312 [testenv] setenv = @@ -16,13 +19,15 @@ setenv = PYTHONPATH = {toxinidir}:{toxinidir}/django-fixture-magic:{toxinidir}/tests commands = - coverage run --source='.' {envbindir}/django-admin test + coverage run -m django test --settings=tests.settings + coverage report allowlist_externals = - django-admin + coverage deps = coverage django32: Django>=3.2,<4.0 django40: Django>=4.0,<4.1 django41: Django>=4.1,<4.2 + django42: Django>=4.2,<5.0