From 42280a17a25cd4d6c04e4b0520684f39fcb096e6 Mon Sep 17 00:00:00 2001
From: florian <f.spreckelsen@inidscale.com>
Date: Fri, 23 Dec 2022 08:55:05 +0100
Subject: [PATCH] TST: Add Python 3.11 to unit tests and pipeline

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 792ab22f..63749845 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,6 +86,13 @@ unittest_py3.10:
   image: python:3.10
   script: *python_test_script
 
+unittest_py3.11:
+  tags: [ docker ]
+  stage: test
+  needs: [ ]
+  image: python:3.11
+  script: *python_test_script
+
 # Trigger building of server image and integration tests
 trigger_build:
   stage: deploy
diff --git a/tox.ini b/tox.ini
index 3b3371a9..83f6e8df 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist=py38, py39, py310
+envlist=py38, py39, py310, py311
 skip_missing_interpreters = true
 
 [testenv]
-- 
GitLab