From c243176d8fd19f2a005a9a0793b155b4b97cbf53 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 11 Nov 2020 22:50:14 +0100 Subject: [PATCH] Add Gitlab stage for Python 3.7 because it is Debian default version --- .gitlab-ci.yml | 11 +++++++++-- tox.ini | 3 +-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d08a30b..5ca51af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,12 +2,19 @@ stages: - test - quality-assurance +py37: + stage: test + image: python:3.7-alpine + before_script: + - pip install tox + script: tox -e py3 + py38: stage: test image: python:3.8-alpine before_script: - pip install tox - script: tox -e py38 + script: tox -e py3 py39: @@ -15,7 +22,7 @@ py39: image: python:3.9-alpine before_script: - pip install tox - script: tox -e py39 + script: tox -e py3 linters: stage: quality-assurance diff --git a/tox.ini b/tox.ini index 098a080..1e43e33 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,6 @@ [tox] envlist = - py38 - py39 + py3 linters skipsdist = True