From 8a4e75ef322e7caad27d2c0076c777b6513ef732 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 14 Mar 2020 18:44:02 +0000 Subject: [PATCH] Added a "Start Database" step to github action flow https://github.blog/changelog/2020-02-21-github-actions-breaking-change-ubuntu-virtual-environments-will-no-longer-start-the-mysql-service-automatically/ --- .github/workflows/phpunit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index f6c002c05..fa2437f37 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -31,6 +31,10 @@ jobs: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ matrix.php }} + - name: Start Database + run: | + sudo /etc/init.d/mysql start + - name: Setup Database run: | mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS `bookstack-test`;'