Repository: caktus/django-email-bandit (language: python)

Issue:
Add Django 3.2 and 4.0 to the test matrix



Discussion / hints:

Fix patch:
diff --git a/tox.ini b/tox.ini
index 7f7ef0b..8a7f175 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = {py36,py37,py38,py39}-{2.2,3.0,3.1}
+envlist = py3{6,7,8,9}-{2.2,3.0,3.1,3.2},py3{8,9}-{4.0}
 
 [gh-actions]
 python =
@@ -14,3 +14,5 @@ deps =
     2.2: Django>=2.2,<3.0
     3.0: Django>=3.0,<3.1
     3.1: Django>=3.1,<3.2
+    3.2: Django>=3.2,<4.0
+    4.0: Django>=4.0b1,<4.1


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 308b9fc..d4bb572 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -2,6 +2,10 @@ name: lint-test
 
 on:
   pull_request:
+    types:
+      - opened
+      - synchronize
+      - reopened
   push:
     branches:
       - master