CI: Trying to get custom sql setup into the mysql testdb

This commit is contained in:
Griatch 2025-12-19 10:16:37 +01:00
parent 8f908ed2ac
commit 0f0088cd9b
3 changed files with 14 additions and 4 deletions

View file

@ -24,7 +24,7 @@ jobs:
- python-version: "3.11"
coverage-test: true
timeout-minutes: 10
timeout-minutes: 30
steps:
- uses: actions/checkout@v4

View file

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