mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
CI: fix myslq.cni file init syntax
This commit is contained in:
parent
fdcf285588
commit
3c52981bbe
3 changed files with 7 additions and 2 deletions
3
.github/actions/run-tests/action.yml
vendored
3
.github/actions/run-tests/action.yml
vendored
|
|
@ -69,7 +69,8 @@ runs:
|
|||
- name: Verify MySQL settings before migrations
|
||||
if: ${{ inputs.testing-db == 'mysql' }}
|
||||
run: |
|
||||
mysql -h 127.0.0.1 -u evennia -ppassword evennia -e "SELECT @@innodb_default_row_format as row_format;"
|
||||
echo "Verifying MySQL server settings:"
|
||||
mysql -u evennia -ppassword evennia -e "SELECT @@innodb_default_row_format as row_format, @@character_set_server as charset, @@collation_server as collation, @@innodb_large_prefix as large_prefix;"
|
||||
shell: bash
|
||||
|
||||
- name: Run migrations
|
||||
|
|
|
|||
3
.github/actions/setup-database/action.yml
vendored
3
.github/actions/setup-database/action.yml
vendored
|
|
@ -64,6 +64,9 @@ runs:
|
|||
GRANT SESSION_VARIABLES_ADMIN ON *.* TO 'evennia'@'::1';
|
||||
FLUSH PRIVILEGES;
|
||||
EOF
|
||||
# Verify MySQL settings are applied correctly
|
||||
echo "Verifying MySQL configuration:"
|
||||
mysql -u root -proot_password -e "SELECT @@innodb_default_row_format as row_format, @@character_set_server as charset, @@collation_server as collation;" || true
|
||||
shell: bash
|
||||
|
||||
# get logs from db start
|
||||
|
|
|
|||
|
|
@ -70,7 +70,8 @@ jobs:
|
|||
[mysqld]
|
||||
character-set-server=utf8mb4
|
||||
collation-server=utf8mb4_unicode_ci
|
||||
innodb-default-row-format=DYNAMIC
|
||||
innodb_default_row_format=DYNAMIC
|
||||
innodb_large_prefix=ON
|
||||
|
||||
- name: Set up database (mysql)
|
||||
uses: ./.github/actions/setup-database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue