Check advertised from the list object instead of settings.
[mailman-postorious.git] / .gitlab-ci.yml
blobd085bf37a7e5655b392b077d81d33b5103ae4c6f
1 image: ghcr.io/maxking/mailman-ci-runner
3 py37-django-20:
4   stage: test
5   script:
6     - tox -e py37-django20
8 py36-django-20:
9   stage: test
10   script:
11     - tox -e py36-django20
13 py36-django-21:
14   stage: test
15   script:
16     - tox -e py36-django21
18 py37-django-21:
19   stage: test
20   script:
21     - tox -e py37-django21
23 py36-django-22:
24   stage: test
25   script:
26     - tox -e py36-django22
28 py37-django-22:
29   stage: test
30   script:
31     - tox -e py37-django22
33 py36-django-30:
34   stage: test
35   script:
36     - tox -e py36-django30
38 py37-django-30:
39   stage: test
40   script:
41     - tox -e py37-django30
43 py38-django-30:
44   stage: test
45   script:
46     - tox -e py38-django30
48 py38-django-22:
49   stage: test
50   script:
51     - tox -e py38-django22
53 py38-django31:
54   stage: test
55   script:
56     - tox -e py38-django31
58 py39-django31:
59   stage: test
60   script:
61     - tox -e py39-django31
63 coverage:
64   stage: test
65   script:
66   - tox -e coverage
67   artifacts:
68     paths:
69     - coverage
70     expire_in: 5 days
72 pep8:
73   stage: test
74   script:
75   - tox -e pep8
77 git-heads:
78   stage: test
79   allow_failure: true
80   script:
81   - tox -e py36-head
83 django-latest:
84   stage: test
85   allow_failure: true
86   script:
87     - tox -e py38-django-latest
89 upstream-client:
90   stage: test
91   script:
92     - tox -e upstream-client
93   only:
94     variables:
95       - $MAILMANCLIENT_COMMIT_SHA
97 upstream-django-mailman3:
98   stage: test
99   script:
100     - tox -e upstream-django-mailman3
101   only:
102     variables:
103       - $DJANGO_MAILMAN3_COMMIT_SHA
105 include:
106   - template: SAST.gitlab-ci.yml
108 variables:
109   SAST_DEFAULT_ANALYZERS: "bandit,secrets"