ci: drop python/3.9
This commit is contained in:
@@ -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.9
|
||||
image: $CI_DOCKER_REGISTRY/python:3.10
|
||||
|
||||
#commands to run in the Docker container before starting each job.
|
||||
before_script:
|
||||
@@ -25,22 +25,16 @@ pytest:
|
||||
script:
|
||||
- pytest -v --random-order ./tests
|
||||
|
||||
tests-3.10:
|
||||
tests-3.11:
|
||||
stage: AdditionalTests
|
||||
image: $CI_DOCKER_REGISTRY/python:3.10
|
||||
image: $CI_DOCKER_REGISTRY/python:3.11
|
||||
needs: ["pytest"]
|
||||
script:
|
||||
- pytest -v --random-order ./tests
|
||||
allow_failure: true
|
||||
|
||||
tests-3.11:
|
||||
extends: "tests-3.10"
|
||||
stage: AdditionalTests
|
||||
image: $CI_DOCKER_REGISTRY/python:3.11
|
||||
allow_failure: true
|
||||
|
||||
tests-3.12:
|
||||
extends: "tests-3.10"
|
||||
extends: "tests-3.11"
|
||||
stage: AdditionalTests
|
||||
image: $CI_DOCKER_REGISTRY/python:3.12
|
||||
allow_failure: true
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
BEAMLINE_REPO=gitlab.psi.ch:bec/debye-bec.git
|
||||
git clone git@$BEAMLINE_REPO
|
||||
|
||||
module add psi-python39/2021.11
|
||||
module use unstable
|
||||
module add psi-python311/2024.02
|
||||
|
||||
# start redis
|
||||
docker run --network=host --name redis-bec -d redis
|
||||
|
||||
Reference in New Issue
Block a user