CI build: Different mysql testing db
This commit is contained in:
parent
694fe8468d
commit
00f70b1eb9
2 changed files with 8 additions and 1 deletions
2
.github/actions/setup-database/action.yml
vendored
2
.github/actions/setup-database/action.yml
vendored
|
|
@ -48,7 +48,7 @@ runs:
|
||||||
# collation server: "utf8mb4_unicode_ci"
|
# collation server: "utf8mb4_unicode_ci"
|
||||||
character set server: "utf8"
|
character set server: "utf8"
|
||||||
collation server: "utf8_general_ci"
|
collation server: "utf8_general_ci"
|
||||||
mysql database: "evennia"
|
mysql database: "testdb"
|
||||||
mysql user: "evennia"
|
mysql user: "evennia"
|
||||||
mysql password: "password"
|
mysql password: "password"
|
||||||
mysql root password: root_password
|
mysql root password: root_password
|
||||||
|
|
|
||||||
7
.github/workflows/mysql_settings.py
vendored
7
.github/workflows/mysql_settings.py
vendored
|
|
@ -50,6 +50,13 @@ DATABASES = {
|
||||||
"charset": "utf8mb4",
|
"charset": "utf8mb4",
|
||||||
"init_command": "set collation_connection=utf8mb4_unicode_ci",
|
"init_command": "set collation_connection=utf8mb4_unicode_ci",
|
||||||
},
|
},
|
||||||
|
"TEST": {
|
||||||
|
"NAME": "testdb",
|
||||||
|
"OPTIONS": {
|
||||||
|
"charset": "utf8mb4",
|
||||||
|
"init_command": "set collation_connection=utf8mb4_unicode_ci",
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue