diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 28a0ffbc628f93f7f994850bbb5be599aac3029f..f68c474fafdcc2c72823dfc1cf53c393dcebe6d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -119,8 +119,18 @@ tests:3.8:
   variables:
     PYTHON_VERSION: "3.8"
 
-tests:3.9:coverage:
+tests:3.9:
   extends: .tests
+
+tests:3.10:
+  extends: .tests
+  variables:
+    PYTHON_VERSION: "3.10"
+
+tests:3.11:cov:
+  extends: .tests
+  variables:
+    PYTHON_VERSION: "3.11"
   coverage: '/(?i)total.*\s+(\d+%)/'
   script:
     - poetry install
@@ -135,16 +145,6 @@ tests:3.9:coverage:
         coverage_format: cobertura
         path: coverage.xml
 
-tests:3.10:
-  extends: .tests
-  variables:
-    PYTHON_VERSION: "3.10"
-
-tests:3.11:
-  extends: .tests
-  variables:
-    PYTHON_VERSION: "3.11"
-
 .image:
   stage: package
   tags: [docker]
@@ -220,7 +220,7 @@ pypi:
 
 pages:
   extends: .changes
-  needs: ["tests:3.9:coverage"]
+  needs: ["tests:3.11:cov"]
   rules:
     - if: $CI_COMMIT_BRANCH == "main"
   stage: coverage