From 58101facfbe26c59603a4d60d4c184907a9539b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Thu, 30 Nov 2023 09:03:11 +0100 Subject: [PATCH] ci: make sure mariadb-client is installed on the runner image --- bin/install-wp-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/install-wp-tests.sh b/bin/install-wp-tests.sh index a9644ae..2bbb480 100755 --- a/bin/install-wp-tests.sh +++ b/bin/install-wp-tests.sh @@ -143,6 +143,8 @@ create_db() { } install_db() { + # the mariadb commands are not available on some self-hosted runner images + apt update && apt-get install mariadb-client -y if [ ${SKIP_DB_CREATE} = "true" ]; then return 0