From c55404b01b872f93b719b4c14824763c72c12b59 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Tue, 3 Oct 2023 18:52:02 +0200 Subject: [PATCH] CI: Switch default Python version to 3.12 (#196) Move coverage to v3.12 job Remove allow_failure --- .gitlab-ci.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c6fd74..a6146c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ stages: variables: DOCKER_IMAGE: "registry.duniter.org/docker/python3/poetry" - PYTHON_VERSION: "3.11" + PYTHON_VERSION: "3.12" image: $DOCKER_IMAGE/$PYTHON_VERSION:latest @@ -123,7 +123,12 @@ tests:3.10: variables: PYTHON_VERSION: "3.10" -tests:3.11:cov: +tests:3.11: + extends: .tests + variables: + PYTHON_VERSION: "3.11" + +tests:3.12:cov: extends: .tests coverage: '/(?i)total.*\s+(\d+%)/' script: @@ -139,12 +144,6 @@ tests:3.11:cov: coverage_format: cobertura path: coverage.xml -tests:3.12: - extends: .tests - variables: - PYTHON_VERSION: "3.12" - allow_failure: true - release: stage: release script: -- GitLab