fix: I18N: Do not pass formatted messages to gettext
[mailman-postorious.git] / .gitlab-ci.yml
blobdb2673e1861129d1cd3075525af4df0328a7189b
1 ---
2 image: ghcr.io/maxking/mailman-ci-runner
4 include:
5   - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
7 py39-django42:
8   stage: test
9   script:
10     - tox -e py39-django42-git
12 py310-django42:
13   stage: test
14   script:
15     - tox -e py310-django42-git
17 py311-django42:
18   stage: test
19   script:
20     - tox -e py311-django42-git
22 py312-django42:
23   stage: test
24   script:
25     - tox -e py312-django42-git
27 py312-django50:
28   stage: test
29   script:
30     - tox -e py312-django50-git
32 released:
33   stage: test
34   script:
35     - tox -e py312-django50
37 # Uncomment when we have a better way to run tests against the
38 # master. Currently, there are version constraints in all the
39 # sub-packages, which leads to all failing tests.
40 # py310-django-latest:
41 #   stage: test
42 #   allow_failure: true
43 #   script:
44 #     - printf "Remove all django version restriction from setup.py.\n"
45 #     - sed -E 's/django[<=>,.[:digit:]]+/django/' -i setup.py
46 #     - tox -e py310-django-latest
48 coverage:
49   stage: test
50   script:
51     - tox -e cov
52   artifacts:
53     paths:
54       - coverage
55     expire_in: 5 days
57 qa:
58   stage: test
59   script:
60     - tox -e qa
62 upstream-client:
63   stage: test
64   script:
65     - tox -e upstream-client
66   only:
67     variables:
68       - $MAILMANCLIENT_COMMIT_SHA
70 upstream-django-mailman3:
71   stage: test
72   script:
73     - tox -e upstream-django-mailman3
74   only:
75     variables:
76       - $DJANGO_MAILMAN3_COMMIT_SHA
78 include:
79   - template: SAST.gitlab-ci.yml
81 variables:
82   SAST_DEFAULT_ANALYZERS: "bandit,secrets"