CI: Working to get MySQL server collaborate with CI env

This commit is contained in:
Griatch 2025-12-19 10:36:00 +01:00
parent 0f0088cd9b
commit bf138d8a6f
4 changed files with 40 additions and 6 deletions

View file

@ -109,7 +109,7 @@ jobs:
services:
postgres:
image: postgres:13
image: postgres:14
env:
POSTGRES_DB: evennia
POSTGRES_USER: evennia

View file

@ -48,13 +48,13 @@ DATABASES = {
"PORT": "", # use default port
"OPTIONS": {
"charset": "utf8mb4",
"init_command": "SET collation_connection=utf8mb4_unicode_ci, sql_mode='STRICT_TRANS_TABLES'",
"init_command": "SET collation_connection=utf8mb4_unicode_ci, sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1",
},
"TEST": {
"NAME": "evennia",
"OPTIONS": {
"charset": "utf8mb4",
"init_command": "SET collation_connection=utf8mb4_unicode_ci, sql_mode='STRICT_TRANS_TABLES'",
"init_command": "SET collation_connection=utf8mb4_unicode_ci, sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1",
},
},
}