fix: install mariadb client
GitHub action's Ubuntu 20.04 image has mysql8 tooling which is not compatible with mariadb.
This commit is contained in:
parent
049df53cd8
commit
eb4e94f52d
1 changed files with 2 additions and 1 deletions
3
.github/helper/install.sh
vendored
3
.github/helper/install.sh
vendored
|
|
@ -17,6 +17,7 @@ if [ "$TYPE" == "server" ]; then
|
|||
fi
|
||||
|
||||
if [ "$DB" == "mariadb" ];then
|
||||
sudo apt install mariadb-client-10.3
|
||||
mysql --host 127.0.0.1 --port 3306 -u root -e "SET GLOBAL character_set_server = 'utf8mb4'";
|
||||
mysql --host 127.0.0.1 --port 3306 -u root -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'";
|
||||
|
||||
|
|
@ -58,4 +59,4 @@ cd ../..
|
|||
bench start &
|
||||
bench --site test_site reinstall --yes
|
||||
if [ "$TYPE" == "server" ]; then bench --site test_site_producer reinstall --yes; fi
|
||||
bench build --app frappe
|
||||
bench build --app frappe
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue