diff --git a/.circleci/config.yml b/.circleci/config.yml index 4825c266..fdf470e1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,12 +18,18 @@ workflows: - test-3.8-31 - test-3.8-32 - test-3.8-40 + - test-3.8-41 - test-3.9-22 - test-3.9-30 - test-3.9-31 - test-3.9-32 - test-3.9-40 + - test-3.9-41 + + - test-3.10-32 + - test-3.10-40 + - test-3.10-41 - done: requires: @@ -42,12 +48,18 @@ workflows: - test-3.8-31 - test-3.8-32 - test-3.8-40 + - test-3.8-41 - test-3.9-22 - test-3.9-30 - test-3.9-31 - test-3.9-32 - test-3.9-40 + - test-3.9-41 + + - test-3.10-32 + - test-3.10-40 + - test-3.10-41 jobs: base: &test-template @@ -94,7 +106,10 @@ jobs: source venv/bin/activate cd tests coverage run --source=webpack_loader manage.py test - coveralls + if [ "$COVERALLS_REPO_TOKEN" != "" ] + then + coveralls + fi environment: COVERALLS_PARALLEL: 1 @@ -178,6 +193,12 @@ jobs: - image: circleci/python:3.8-buster-node environment: DJANGO_VERSION: "40" + test-3.8-41: + <<: *test-template + docker: + - image: circleci/python:3.8-buster-node + environment: + DJANGO_VERSION: "41" test-3.9-22: <<: *test-template @@ -209,6 +230,31 @@ jobs: - image: circleci/python:3.9-buster-node environment: DJANGO_VERSION: "40" + test-3.9-41: + <<: *test-template + docker: + - image: circleci/python:3.9-buster-node + environment: + DJANGO_VERSION: "41" + + test-3.10-32: + <<: *test-template + docker: + - image: circleci/python:3.10-buster-node + environment: + DJANGO_VERSION: "32" + test-3.10-40: + <<: *test-template + docker: + - image: circleci/python:3.10-buster-node + environment: + DJANGO_VERSION: "40" + test-3.10-41: + <<: *test-template + docker: + - image: circleci/python:3.10-buster-node + environment: + DJANGO_VERSION: "41" done: docker: @@ -217,5 +263,8 @@ jobs: - run: name: Finish Coveralls command: | - pip install coveralls - coveralls --finish + if [ "$COVERALLS_REPO_TOKEN" != "" ] + then + pip install coveralls + coveralls --finish + fi diff --git a/setup.py b/setup.py index 7fffbc27..d4c32730 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,7 @@ def rel(*parts): 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Framework :: Django', 'Framework :: Django :: 2.0', 'Framework :: Django :: 2.1', @@ -43,6 +44,7 @@ def rel(*parts): 'Framework :: Django :: 3.1', 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.0', + 'Framework :: Django :: 4.1', 'Environment :: Web Environment', 'License :: OSI Approved :: MIT License', ], diff --git a/tests/requirements/django41.txt b/tests/requirements/django41.txt new file mode 100644 index 00000000..4041b77b --- /dev/null +++ b/tests/requirements/django41.txt @@ -0,0 +1 @@ +django>=4.1,<4.2