From 06af7954b11fb120157be08fbc660204b88eddef Mon Sep 17 00:00:00 2001
From: Alexandre Iooss <erdnaxe@crans.org>
Date: Sat, 5 Aug 2023 13:48:59 +0200
Subject: [PATCH] Test on Debian Bookworm

---
 .gitlab-ci.yml | 15 ++++++++++++++-
 tox.ini        |  1 +
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8fc8147..60c5c2a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,9 +15,22 @@ py39-django22:
         python3-pip python3-setuptools tox git
   script: tox -e py39-django22
 
+# Debian Bookworm
+py311-django32:
+  stage: test
+  image: debian:bookworm
+  before_script:
+    - >
+        apt-get update &&
+        apt-get install --no-install-recommends -y
+        python3-django python3-django-crispy-forms
+        python3-pil python3-django-allauth
+        python3-pip python3-setuptools tox git
+  script: tox -e py311-django32
+
 linters:
   stage: quality-assurance
-  image: debian:bullseye
+  image: debian:bookworm
   before_script:
     - apt-get update && apt-get install -y tox
   script: tox -e linters
diff --git a/tox.ini b/tox.ini
index 41246da..307c3c4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,7 @@
 [tox]
 envlist =
     py39-django{22,32}
+    py311-django{22,32}
     linters
 skipsdist = True
 
-- 
GitLab