Update compiled message catalog for prior change.
[mailman.git] / .gitlab-ci.yml
blobe61e71c4e9e317d4ac54e14424fadc08b87baab0
1 # This is core test runner
2 .only-default: &only-default
3   only:
4     - master
5     - merge_requests
6     - tags
7     - web
9 image: ghcr.io/maxking/mailman-ci-runner:latest
11 variables:
12   POSTGRES_DB: "mailman_test"
13   POSTGRES_USER: "runner"
14   POSTGRES_PASSWORD: "runner"
15   MYSQL_ROOT_PASSWORD: "runner"
16   MYSQL_USER: "runner"
17   MYSQL_USER_PASSWORD: "runner"
18   MYSQL_DATABASE: "test_mailman"
19   LC_ALL: "C.UTF-8"
20   GIT_CEILING_DIRECTORIES: "/builds"
21   HOME: "/builds"
24 qa:
25   <<: *only-default
26   script:
27   - tox -e qa
29 docs:
30   <<: *only-default
31   script:
32   - tox -e docs
34 sqlite-39:
35   <<: *only-default
36   script:
37     - tox -e py39-nocov
39 sqlite-310:
40   <<: *only-default
41   script:
42     - tox -e py310-nocov
44 sqlite-311:
45   <<: *only-default
46   script:
47     - tox -e py311-nocov
49 sqlite-312:
50   <<: *only-default
51   script:
52     - tox -e py312-nocov
54 pgsql-310:
55   <<: *only-default
56   services:
57   - postgres:latest
58   script:
59   - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/postgres.cfg tox -e py310-nocov-pg
61 pgsql-311:
62   <<: *only-default
63   services:
64   - postgres:latest
65   script:
66   - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/postgres.cfg tox -e py311-nocov-pg
68 pgsql-39:
69   <<: *only-default
70   services:
71   - postgres:latest
72   script:
73   - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/postgres.cfg tox -e py39-nocov-pg
75 mysql-311:
76   <<: *only-default
77   services:
78   - mysql:5.6
79   script:
80   - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/mysql.cfg tox -e py311-nocov-mysql
82 mysql-310:
83   <<: *only-default
84   services:
85   - mysql:5.6
86   script:
87   - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/mysql.cfg tox -e py310-nocov-mysql
89 mysql-39:
90   <<: *only-default
91   services:
92   - mysql:5.6
93   script:
94   - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/mysql.cfg tox -e py39-nocov-mysql
96 diffcov:
97   script:
98   - git config --global --add safe.directory "/builds/${CI_PROJECT_NAMESPACE}/mailman"
99   - git config safe.directory
100   - tox -e py311-diffcov
101   only:
102   - merge_requests