mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-24 19:32:53 +03:00
Run tests against Django 3.1
This commit is contained in:
parent
fd2d85064f
commit
c06d09f7d8
@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: tox -e 'py36-dj{20,21,22,30}'
|
command: tox -e 'py36-dj{20,21,22,30,31}'
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: tox -e 'py37-dj{20,21,22,30}'
|
command: tox -e 'py37-dj{20,21,22,30,31}'
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: tox -e 'py38-dj{20,21,22,30}'
|
command: tox -e 'py38-dj{20,21,22,30,31}'
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: tox -e 'py39-dj{21,22,30}'
|
command: tox -e 'py39-dj{21,22,30,31}'
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
DATABASE_URL: 'postgres://localizedfields:localizedfields@localhost:5432/localizedfields'
|
||||||
|
|
||||||
|
3
tox.ini
3
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[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]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
@ -7,6 +7,7 @@ deps =
|
|||||||
dj21: Django>=2.1,<2.2
|
dj21: Django>=2.1,<2.2
|
||||||
dj22: Django>=2.2,<2.3
|
dj22: Django>=2.2,<2.3
|
||||||
dj30: Django>=3.0,<3.0.2
|
dj30: Django>=3.0,<3.0.2
|
||||||
|
dj31: Django>=3.1,<3.2
|
||||||
.[test]
|
.[test]
|
||||||
setenv =
|
setenv =
|
||||||
DJANGO_SETTINGS_MODULE=settings
|
DJANGO_SETTINGS_MODULE=settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user