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

CI: Switch default Python version to 3.12 (#196)

Move coverage to v3.12 job
Remove allow_failure
parent a6ed45e6
No related branches found
No related tags found
1 merge request!194CI: Switch default Python version to 3.12 (#196)
Pipeline #33748 waiting for manual action
...@@ -6,7 +6,7 @@ stages: ...@@ -6,7 +6,7 @@ stages:
variables: variables:
DOCKER_IMAGE: "registry.duniter.org/docker/python3/poetry" DOCKER_IMAGE: "registry.duniter.org/docker/python3/poetry"
PYTHON_VERSION: "3.11" PYTHON_VERSION: "3.12"
image: $DOCKER_IMAGE/$PYTHON_VERSION:latest image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
...@@ -123,7 +123,12 @@ tests:3.10: ...@@ -123,7 +123,12 @@ tests:3.10:
variables: variables:
PYTHON_VERSION: "3.10" PYTHON_VERSION: "3.10"
tests:3.11:cov: tests:3.11:
extends: .tests
variables:
PYTHON_VERSION: "3.11"
tests:3.12:cov:
extends: .tests extends: .tests
coverage: '/(?i)total.*\s+(\d+%)/' coverage: '/(?i)total.*\s+(\d+%)/'
script: script:
...@@ -139,12 +144,6 @@ tests:3.11:cov: ...@@ -139,12 +144,6 @@ tests:3.11:cov:
coverage_format: cobertura coverage_format: cobertura
path: coverage.xml path: coverage.xml
tests:3.12:
extends: .tests
variables:
PYTHON_VERSION: "3.12"
allow_failure: true
release: release:
stage: release stage: release
script: script:
......
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