From be24a902bf98c836138cf47d4671f9c4acadbd48 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Thu, 29 Oct 2020 10:09:29 +0100 Subject: [PATCH] test jobs for python 3.7, 3.8 and latest added --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b3bb6195..60cf0253 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,3 +28,27 @@ test_sqlite: - python manage.py makemigrations web && python manage.py migrate - coverage run --source web manage.py test -v3 - coverage report -m --omit="*/test*,*/migrations*,*debug_utils*" +test_python_3.7: + image: python:3.7 + script: + - cp "local_settings_ci_sqlite.py" "smash/smash/local_settings.py" + - cd smash + - python manage.py makemigrations web && python manage.py migrate + - coverage run --source web manage.py test -v3 + - coverage report -m --omit="*/test*,*/migrations*,*debug_utils*" +test_python_3.8: + image: python:3.8 + script: + - cp "local_settings_ci_sqlite.py" "smash/smash/local_settings.py" + - cd smash + - python manage.py makemigrations web && python manage.py migrate + - coverage run --source web manage.py test -v3 + - coverage report -m --omit="*/test*,*/migrations*,*debug_utils*" +test_python_latest: + image: python:latest + script: + - cp "local_settings_ci_sqlite.py" "smash/smash/local_settings.py" + - cd smash + - python manage.py makemigrations web && python manage.py migrate + - coverage run --source web manage.py test -v3 + - coverage report -m --omit="*/test*,*/migrations*,*debug_utils*" -- GitLab