summaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@paylead.fr>2021-11-08 14:18:29 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2021-11-08 14:56:48 +0100
commit8abf0030e215804eb84e63a9233010abc02e05a5 (patch)
treee95b065da1c8cdbe7a91f01f3de95e74afc1f1b8 /.github/workflows/test.yml
parent63720c70dd538234e75914e2afb80b94d5e88a1f (diff)
downloadsemantic-version-8abf0030e215804eb84e63a9233010abc02e05a5.tar.gz
Add support for Django 4.0
The gettext_lazy function has a different name between Django 2.x and 4.x; use the right one according to the version. Closes #113, #121
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7eb4638..02cb641 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -45,6 +45,14 @@ jobs:
- python-version: "pypy3"
django-family: 32
+ # Django 4.0: Python 3.8, 3.9, 3.10
+ - python-version: "3.8"
+ django-family: 40
+ - python-version: "3.9"
+ django-family: 40
+ - python-version: "3.10"
+ django-family: 40
+
env:
TOXENV: django${{ matrix.django-family }}