From 4e6201fdadccc3ad51b98c2d7f78ff9a2838c354 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Fri, 9 May 2025 15:01:38 +0200
Subject: [PATCH] test more version for main, only one for other branches

---
 .gitlab-ci.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d63b2ca..2dec257 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,15 @@ run_tests:
     - coverage report -m
   parallel:
     matrix:
-      - VERSION: ['3.8', '3.11']
+      - VERSION: [
+          "3.09", # oldest supported
+          "3.10", # scope for web app
+          "3.11", #
+          "3.12", #
+          "3.13", # latest,
+        ]
+  rules:
+    - if: '$CI_COMMIT_BRANCH == "main" || $PYTHON_VERSION == "3.10"'
 
 
 
-- 
GitLab