Update help text for template substitutions.
[mailman-postorious.git] / .gitlab-ci.yml
blobcdb241b80c99722dd63aa7304383e679c2eacef4
1 ---
2 image: ghcr.io/maxking/mailman-ci-runner
4 include:
5   - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
7 py39-django32:
8   stage: test
9   script:
10     - tox -e py39-django32-git
12 py39-django40:
13   stage: test
14   script:
15     - tox -e py39-django40-git
17 py39-django41:
18   stage: test
19   script:
20     - tox -e py39-django41-git
22 py310-django32:
23   stage: test
24   script:
25     - tox -e py310-django32-git
27 py310-django40:
28   stage: test
29   script:
30     - tox -e py310-django40-git
32 py311-django41:
33   stage: test
34   script:
35     - tox -e py311-django41-git
37 py311-django42:
38   stage: test
39   script:
40     - tox -e py311-django42-git
42 py312-django42:
43   stage: test
44   script:
45     - tox -e py312-django42-git
47 released:
48   stage: test
49   script:
50     - tox -e py310-django41
52 # Uncomment when we have a better way to run tests against the
53 # master. Currently, there are version constraints in all the
54 # sub-packages, which leads to all failing tests.
55 # py310-django-latest:
56 #   stage: test
57 #   allow_failure: true
58 #   script:
59 #     - printf "Remove all django version restriction from setup.py.\n"
60 #     - sed -E 's/django[<=>,.[:digit:]]+/django/' -i setup.py
61 #     - tox -e py310-django-latest
63 coverage:
64   stage: test
65   script:
66     - tox -e cov
67   artifacts:
68     paths:
69       - coverage
70     expire_in: 5 days
72 qa:
73   stage: test
74   script:
75     - tox -e qa
77 upstream-client:
78   stage: test
79   script:
80     - tox -e upstream-client
81   only:
82     variables:
83       - $MAILMANCLIENT_COMMIT_SHA
85 upstream-django-mailman3:
86   stage: test
87   script:
88     - tox -e upstream-django-mailman3
89   only:
90     variables:
91       - $DJANGO_MAILMAN3_COMMIT_SHA
93 include:
94   - template: SAST.gitlab-ci.yml
96 variables:
97   SAST_DEFAULT_ANALYZERS: "bandit,secrets"