ci: enable mariadb
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m39s
Unit Testing / phpunit (7.0) (push) Has been cancelled
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m39s
Unit Testing / phpunit (7.0) (push) Has been cancelled
This commit is contained in:
parent
da27487106
commit
6cdfbbac22
1 changed files with 3 additions and 2 deletions
|
@ -138,13 +138,14 @@ recreate_db() {
|
|||
shopt -u nocasematch
|
||||
}
|
||||
|
||||
create_db() {
|
||||
mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS"$EXTRA
|
||||
cremysqladminate_db() {
|
||||
mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS" $EXTRA
|
||||
}
|
||||
|
||||
install_db() {
|
||||
# the mariadb commands are not available on some self-hosted runner images
|
||||
apt update && apt-get install mariadb-server mariadb-client -y
|
||||
systemctl start mariadb
|
||||
|
||||
if [ ${SKIP_DB_CREATE} = "true" ]; then
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue