From 12aa2eb31ea5aeb96cbb507d361d0327949473cb Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 26 Oct 2022 12:01:24 +0200
Subject: [PATCH] (ci) Introduce tests:3.11 job (#194)

Set default PYTHON_VERSION to 3.11
---
 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 54c9b8f..dfa7064 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ stages:
 
 variables:
   DOCKER_IMAGE: "registry.duniter.org/docker/python3/poetry"
-  PYTHON_VERSION: "3.9"
+  PYTHON_VERSION: "3.11"
 
 image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
 
@@ -104,6 +104,8 @@ tests:3.8:
 tests:3.9:cov:
   extends: .tests
   tags: [redshift]
+  variables:
+    PYTHON_VERSION: "3.9"
   script:
     - poetry install
     - poetry run pytest --cov duniterpy --cov-report html:cov_html --cov-report term
@@ -114,6 +116,9 @@ tests:3.10:
   variables:
     PYTHON_VERSION: "3.10"
 
+tests:3.11:
+  extends: .tests
+
 release:
   stage: release
   script:
-- 
GitLab