ci: make sure mariadb-client is installed on the runner image
Some checks failed
PHP_CodeSniffer / phpcs (push) Successful in 4m5s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m50s
Unit Testing / phpunit (7.2) (push) Has been cancelled
Unit Testing / phpunit (7.3) (push) Has been cancelled
Unit Testing / phpunit (7.4) (push) Has been cancelled
Unit Testing / phpunit (8.0) (push) Has been cancelled
Unit Testing / phpunit (8.1) (push) Has been cancelled
Unit Testing / phpunit (8.2) (push) Has been cancelled
Unit Testing / phpunit (latest) (push) Has been cancelled
Unit Testing / phpunit (7.0) (push) Has been cancelled

This commit is contained in:
André Menrath 2023-11-30 09:03:11 +01:00
parent 1efbb4dcd0
commit 58101facfb

View file

@ -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