From b1eaf7760ba9be36787531495884b61c20009dc9 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Sat, 27 Feb 2021 22:04:14 +0000 Subject: [PATCH] Change the list of CI runs. This commit changes the testing matrix. This is the general philosophy for testing: - We need one test per Python version we support. - We need one test per Django versions we support. - The above two variants don't need to be with each combination, we simply use a test case with one-supported Python and one-supported Django. - Test with git-head of Django is allowed to fail. - Test with git head of dependent packages, mailmanclient and django-mailman3. --- .gitlab-ci.yml | 53 ++++++----------------------------------------------- 1 file changed, 6 insertions(+), 47 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d085bf37..04b80354 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,61 +1,26 @@ image: ghcr.io/maxking/mailman-ci-runner -py37-django-20: - stage: test - script: - - tox -e py37-django20 - -py36-django-20: +Python3.7 Django-2.0: stage: test script: - tox -e py36-django20 -py36-django-21: - stage: test - script: - - tox -e py36-django21 - -py37-django-21: +Python 3.8 Django-2.1: stage: test script: - tox -e py37-django21 -py36-django-22: - stage: test - script: - - tox -e py36-django22 - -py37-django-22: - stage: test - script: - - tox -e py37-django22 - -py36-django-30: - stage: test - script: - - tox -e py36-django30 - -py37-django-30: - stage: test - script: - - tox -e py37-django30 - -py38-django-30: - stage: test - script: - - tox -e py38-django30 - -py38-django-22: +Python 3.8 Django-2.2: stage: test script: - tox -e py38-django22 -py38-django31: +Django-3.0: stage: test script: - - tox -e py38-django31 + - tox -e py39-django30 -py39-django31: +Django-31: stage: test script: - tox -e py39-django31 @@ -74,12 +39,6 @@ pep8: script: - tox -e pep8 -git-heads: - stage: test - allow_failure: true - script: - - tox -e py36-head - django-latest: stage: test allow_failure: true -- 2.11.4.GIT