From 25623325ceb425e52deb0120f37f9ceef777bfa5 Mon Sep 17 00:00:00 2001 From: Sagar Vora Date: Sat, 15 Mar 2025 09:41:01 +0530 Subject: [PATCH] ci: use `mysqlclient` in tests --- .github/helper/install.sh | 2 +- .github/helper/site_config_mariadb.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/helper/install.sh b/.github/helper/install.sh index 3485d8f5edb..b863bd9d670 100644 --- a/.github/helper/install.sh +++ b/.github/helper/install.sh @@ -6,7 +6,7 @@ cd ~ || exit sudo apt update sudo apt remove mysql-server mysql-client -sudo apt install libcups2-dev redis-server mariadb-client +sudo apt install libcups2-dev redis-server mariadb-client libmariadb-dev pip install frappe-bench diff --git a/.github/helper/site_config_mariadb.json b/.github/helper/site_config_mariadb.json index 8c86f73729f..96658bf81b2 100644 --- a/.github/helper/site_config_mariadb.json +++ b/.github/helper/site_config_mariadb.json @@ -8,6 +8,7 @@ "mail_login": "test@example.com", "mail_password": "test", "admin_password": "admin", + "use_mysqlclient": 1, "root_login": "root", "root_password": "root", "host_name": "http://test_site:8000",