From 2d9a8fbaf3c2870a7b670af58263c866a06164b6 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Tue, 12 Dec 2023 16:33:32 +0100 Subject: [PATCH] ci: drop python3.8, default python3.9, add python3.12 --- .gitlab-ci.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38e0ddf..51a9a8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ # This file is a template, and might need editing before it works on your project. # Official language image. Look for the different tagged releases at: # https://hub.docker.com/r/library/python/tags/ -image: $CI_DOCKER_REGISTRY/python:3.8 +image: $CI_DOCKER_REGISTRY/python:3.9 #commands to run in the Docker container before starting each job. before_script: @@ -25,23 +25,22 @@ pytest: script: - pytest -v --random-order ./tests -tests-3.9: +tests-3.10: stage: AdditionalTests - image: $CI_DOCKER_REGISTRY/python:3.9 + image: $CI_DOCKER_REGISTRY/python:3.10 needs: ["pytest"] script: - pytest -v --random-order ./tests allow_failure: true -tests-3.10: - extends: "tests-3.9" - stage: AdditionalTests - image: $CI_DOCKER_REGISTRY/python:3.10 - allow_failure: true - tests-3.11: - extends: "tests-3.9" + extends: "tests-3.10" stage: AdditionalTests image: $CI_DOCKER_REGISTRY/python:3.11 allow_failure: true - + +tests-3.12: + extends: "tests-3.10" + stage: AdditionalTests + image: $CI_DOCKER_REGISTRY/python:3.12 + allow_failure: true