diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-04-04 12:17:52 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-04-04 12:17:52 +0000 |
| commit | b4e41059251b6184f368b742e7ff2e9fcf9149df (patch) | |
| tree | 43ca5c8e5fa9859b45c0d6d48e69d1067d612b74 /.gitlab-ci.yml | |
| parent | df1532006fd348eefa6ba183afc14962a7a2035f (diff) | |
use mysql in functional tests, fixes #5468
Closes #5468
Merge request studip/studip!4103
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a4da7c..505280b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -67,8 +67,11 @@ stages: .definitions: mariadb-service: &mariadb-service - - name: mariadb:10.2.7 - command: [ "--sql_mode=","--character-set-client=utf8","--character-set-server=utf8","--collation-server=utf8_unicode_ci"] + - name: mariadb:10.2.7 + command: [ "--sql_mode=","--character-set-client=utf8","--character-set-server=utf8","--collation-server=utf8_unicode_ci"] + mysql-service: &mysql-service + - name: mysql:8.0 + command: [ "--sql_mode=","--character-set-server=utf8mb4","--collation-server=utf8mb4_general_ci"] build-composer: stage: build @@ -273,11 +276,12 @@ test-functional: variables: FUNCTIONAL_XML_REPORT: $REPORT_DIR/functional-report.xml FUNCTIONAL_CODE_QUALITY_REPORT: $REPORT_DIR/functional-codequality.json + MYSQL_HOST: mysql cache: <<: *composer-cache policy: pull services: - - *mariadb-service + - *mysql-service allow_failure: false interruptible: true before_script: |
