From f98bf8b3931f26c7133afa793bc17b9401751b45 Mon Sep 17 00:00:00 2001 From: Tamas Gal <himself@tamasgal.com> Date: Wed, 5 Mar 2025 16:19:00 +0100 Subject: [PATCH] Add Python 3.12 and use Python 3.12 mainly --- {{cookiecutter.project_slug}}/.gitlab-ci.yml | 26 ++++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/{{cookiecutter.project_slug}}/.gitlab-ci.yml b/{{cookiecutter.project_slug}}/.gitlab-ci.yml index 8deb1e1..4df143e 100644 --- a/{{cookiecutter.project_slug}}/.gitlab-ci.yml +++ b/{{cookiecutter.project_slug}}/.gitlab-ci.yml @@ -70,8 +70,24 @@ test-py3.10: - make test <<: *junit_definition +test-py3.11: + image: docker.km3net.de/base/python:3.11 + stage: test + script: + - *virtualenv_definition + - make test + <<: *junit_definition + +test-py3.12: + image: git.km3net.de:4567/common/dockerfiles/base/python:3.12 + stage: test + script: + - *virtualenv_definition + - make test + <<: *junit_definition + code-style: - image: docker.km3net.de/base/python:3.9 + image: git.km3net.de:4567/common/dockerfiles/base/python:3.12 stage: test script: - *virtualenv_definition @@ -79,7 +95,7 @@ code-style: allow_failure: true coverage: - image: docker.km3net.de/base/python:3.9 + image: git.km3net.de:4567/common/dockerfiles/base/python:3.12 stage: coverage script: - *virtualenv_definition @@ -92,7 +108,7 @@ coverage: build-docs: - image: docker.km3net.de/base/python:3.9 + image: git.km3net.de:4567/common/dockerfiles/base/python:3.12 stage: doc script: - *virtualenv_definition @@ -100,7 +116,7 @@ build-docs: cache: {} pages: - image: docker.km3net.de/base/python:3.9 + image: git.km3net.de:4567/common/dockerfiles/base/python:3.12 stage: doc script: - *virtualenv_definition @@ -117,7 +133,7 @@ pages: pypi: - image: docker.km3net.de/base/python:3.9 + image: git.km3net.de:4567/common/dockerfiles/base/python:3.12 stage: release cache: {} script: -- GitLab