From c06d09f7d804fe877b7dec4b322b2b07e0a738f8 Mon Sep 17 00:00:00 2001 From: Swen Kooij Date: Wed, 7 Oct 2020 11:48:09 +0300 Subject: [PATCH] Run tests against Django 3.1 --- .circleci/config.yml | 8 ++++---- tox.ini | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e36aecf..8e7a6f5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,7 +20,7 @@ jobs: - run: name: Run tests - command: tox -e 'py36-dj{20,21,22,30}' + command: tox -e 'py36-dj{20,21,22,30,31}' environment: DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields' @@ -47,7 +47,7 @@ jobs: - run: name: Run tests - command: tox -e 'py37-dj{20,21,22,30}' + command: tox -e 'py37-dj{20,21,22,30,31}' environment: DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields' @@ -74,7 +74,7 @@ jobs: - run: name: Run tests - command: tox -e 'py38-dj{20,21,22,30}' + command: tox -e 'py38-dj{20,21,22,30,31}' environment: DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields' @@ -101,7 +101,7 @@ jobs: - run: name: Run tests - command: tox -e 'py39-dj{21,22,30}' + command: tox -e 'py39-dj{21,22,30,31}' environment: DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields' diff --git a/tox.ini b/tox.ini index 7ff617f..15dfab6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36-dj{20,21,22,30}, py37-dj{20,21,22,30}, py38-dj{20,21,22,30}, py39-dj{21,22,30} +envlist = py36-dj{20,21,22,30,31}, py37-dj{20,21,22,30,31}, py38-dj{20,21,22,30,31}, py39-dj{21,22,30,31} [testenv] deps = @@ -7,6 +7,7 @@ deps = dj21: Django>=2.1,<2.2 dj22: Django>=2.2,<2.3 dj30: Django>=3.0,<3.0.2 + dj31: Django>=3.1,<3.2 .[test] setenv = DJANGO_SETTINGS_MODULE=settings