From f53400638d95a7476817a892d993b963e3e47dd8 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Thu, 13 May 2021 14:47:11 +0200 Subject: [PATCH] [ci] #335: Set Py 3.8 as default image Since tools are installed on --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7a6c0f35..e3368154 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.7" + PYTHON_VERSION: "3.8" image: $DOCKER_IMAGE/$PYTHON_VERSION:latest @@ -34,7 +34,6 @@ build: format: extends: .code_changes stage: checks - image: $DOCKER_IMAGE/3.8:latest script: - black --check silkaj tests @@ -55,6 +54,8 @@ tests-3.6: tests-3.7-coverage: extends: .tests tags: [mille] + variables: + PYTHON_VERSION: "3.7" script: - poetry install - poetry run pytest --cov silkaj --cov-report html:cov_html @@ -67,8 +68,6 @@ tests-3.7-coverage: tests-3.8: extends: .tests tags: [redshift] - variables: - PYTHON_VERSION: "3.8" tests-3.9: extends: .tests -- GitLab