Skip to content
Snippets Groups Projects
Commit ae082fb3 authored by Moul's avatar Moul
Browse files

(ci) Move coverage from tests:3.9:cov to tests:3.11:cov job (#442)

Rename job from "coverage" to "cov"
parent f0d0e5cc
No related branches found
No related tags found
1 merge request!221Introduce Python v3.11 support
...@@ -119,8 +119,18 @@ tests:3.8: ...@@ -119,8 +119,18 @@ tests:3.8:
variables: variables:
PYTHON_VERSION: "3.8" PYTHON_VERSION: "3.8"
tests:3.9:coverage: tests:3.9:
extends: .tests 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+%)/' coverage: '/(?i)total.*\s+(\d+%)/'
script: script:
- poetry install - poetry install
...@@ -135,16 +145,6 @@ tests:3.9:coverage: ...@@ -135,16 +145,6 @@ tests:3.9:coverage:
coverage_format: cobertura coverage_format: cobertura
path: coverage.xml path: coverage.xml
tests:3.10:
extends: .tests
variables:
PYTHON_VERSION: "3.10"
tests:3.11:
extends: .tests
variables:
PYTHON_VERSION: "3.11"
.image: .image:
stage: package stage: package
tags: [docker] tags: [docker]
...@@ -220,7 +220,7 @@ pypi: ...@@ -220,7 +220,7 @@ pypi:
pages: pages:
extends: .changes extends: .changes
needs: ["tests:3.9:coverage"] needs: ["tests:3.11:cov"]
rules: rules:
- if: $CI_COMMIT_BRANCH == "main" - if: $CI_COMMIT_BRANCH == "main"
stage: coverage stage: coverage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment