From 00f70b1eb98403255b47477e7606252b530fdb61 Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 19 Dec 2023 00:05:44 +0100 Subject: [PATCH] CI build: Different mysql testing db --- .github/actions/setup-database/action.yml | 2 +- .github/workflows/mysql_settings.py | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-database/action.yml b/.github/actions/setup-database/action.yml index d5491525de..50d91d0e81 100644 --- a/.github/actions/setup-database/action.yml +++ b/.github/actions/setup-database/action.yml @@ -48,7 +48,7 @@ runs: # collation server: "utf8mb4_unicode_ci" character set server: "utf8" collation server: "utf8_general_ci" - mysql database: "evennia" + mysql database: "testdb" mysql user: "evennia" mysql password: "password" mysql root password: root_password diff --git a/.github/workflows/mysql_settings.py b/.github/workflows/mysql_settings.py index 123f9e286b..712eb3ec5f 100644 --- a/.github/workflows/mysql_settings.py +++ b/.github/workflows/mysql_settings.py @@ -50,6 +50,13 @@ DATABASES = { "charset": "utf8mb4", "init_command": "set collation_connection=utf8mb4_unicode_ci", }, + "TEST": { + "NAME": "testdb", + "OPTIONS": { + "charset": "utf8mb4", + "init_command": "set collation_connection=utf8mb4_unicode_ci", + }, + }, } }