From ae082fb33a60657efb2acf347d2357576131a6b0 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 26 Oct 2022 11:36:46 +0200
Subject: [PATCH] (ci) Move coverage from tests:3.9:cov to tests:3.11:cov job
 (#442)

Rename job from "coverage" to "cov"
---
 .gitlab-ci.yml | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 28a0ffbc..f68c474f 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
-- 
GitLab