use mariadb for testing

This commit is contained in:
Oliver Zander 2025-08-20 09:53:17 +02:00 committed by Tobias Herre
parent 61dcce3505
commit 88e2c959d0
1 changed files with 8 additions and 1 deletions

View File

@ -8,8 +8,15 @@ test:
DJANGO_SETTINGS_MODULE: foerderbarometer.settings DJANGO_SETTINGS_MODULE: foerderbarometer.settings
ENVIRONMENT: test ENVIRONMENT: test
SECRET_KEY: this-is-not-a-secret-key SECRET_KEY: this-is-not-a-secret-key
DATABASE_ENGINE: sqlite3 DATABASE_ENGINE: mysql
DATABASE_HOST: mariadb
DATABASE_USER: root
DATABASE_PASSWORD: fdb
OAUTH_ENABLED: no OAUTH_ENABLED: no
services:
- name: mariadb:10.6
variables:
MARIADB_ROOT_PASSWORD: fdb
tags: tags:
- docker - docker
coverage: /(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/ coverage: /(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/