mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-28 13:58:18 +00:00
chore: Update test matrix (add django 4) (#625)
This commit is contained in:
parent
b9a8d8ecc4
commit
75195b28f4
2 changed files with 10 additions and 7 deletions
7
.github/workflows/github-actions.yml
vendored
7
.github/workflows/github-actions.yml
vendored
|
|
@ -30,9 +30,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python: [3.6, 3.7, 3.8, 3.9]
|
||||
django: [2.2, 3.0, 3.2]
|
||||
python: [3.7, 3.8, 3.9]
|
||||
django: [2.2, 3.2]
|
||||
database: ["sqlite", "postgres", "mysql"]
|
||||
include:
|
||||
- python-version: "3.9"
|
||||
django: "4.0"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DJANGO: ${{ matrix.django }}
|
||||
|
|
|
|||
10
tox.ini
10
tox.ini
|
|
@ -7,9 +7,9 @@ exclude = .tox
|
|||
distribute = False
|
||||
envlist =
|
||||
py{36,37,38,39}-2.2,
|
||||
py{36,37,38,39}-3.0,
|
||||
py{36,37,38,39}-3.1,
|
||||
py{36,37,38,39}-3.2,
|
||||
py{37,38,39}-4.0,
|
||||
py{37,38,39}-4.1,
|
||||
|
||||
[testenv]
|
||||
downloadcache = {toxworkdir}/_download/
|
||||
|
|
@ -23,8 +23,8 @@ basepython =
|
|||
py39: python3.9
|
||||
deps =
|
||||
2.2: Django==2.2.*
|
||||
3.0: Django>=3.0a1,<3.1
|
||||
3.1: Django>=3.1,<3.2
|
||||
3.2: Django>=3.2,<4.0
|
||||
3.2: Django==3.2.*
|
||||
4.0: Django==4.0.*
|
||||
4.1: Django==4.1.*
|
||||
Pillow
|
||||
six
|
||||
|
|
|
|||
Loading…
Reference in a new issue