Change the list of CI runs.
[mailman-postorious.git] / .gitlab-ci.yml
blob04b803549a12f9d25e66274de8f59cac6066febe
1 image: ghcr.io/maxking/mailman-ci-runner
3 Python3.7 Django-2.0:
4   stage: test
5   script:
6     - tox -e py36-django20
8 Python 3.8 Django-2.1:
9   stage: test
10   script:
11     - tox -e py37-django21
13 Python 3.8 Django-2.2:
14   stage: test
15   script:
16     - tox -e py38-django22
18 Django-3.0:
19   stage: test
20   script:
21     - tox -e py39-django30
23 Django-31:
24   stage: test
25   script:
26     - tox -e py39-django31
28 coverage:
29   stage: test
30   script:
31   - tox -e coverage
32   artifacts:
33     paths:
34     - coverage
35     expire_in: 5 days
37 pep8:
38   stage: test
39   script:
40   - tox -e pep8
42 django-latest:
43   stage: test
44   allow_failure: true
45   script:
46     - tox -e py38-django-latest
48 upstream-client:
49   stage: test
50   script:
51     - tox -e upstream-client
52   only:
53     variables:
54       - $MAILMANCLIENT_COMMIT_SHA
56 upstream-django-mailman3:
57   stage: test
58   script:
59     - tox -e upstream-django-mailman3
60   only:
61     variables:
62       - $DJANGO_MAILMAN3_COMMIT_SHA
64 include:
65   - template: SAST.gitlab-ci.yml
67 variables:
68   SAST_DEFAULT_ANALYZERS: "bandit,secrets"