mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-02 13:55:17 +08:00
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/
This commit is contained in:
parent
7f6cbead33
commit
8a4e75ef32
4
.github/workflows/phpunit.yml
vendored
4
.github/workflows/phpunit.yml
vendored
@ -31,6 +31,10 @@ jobs:
|
|||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
path: ${{ steps.composer-cache.outputs.dir }}
|
||||||
key: ${{ runner.os }}-composer-${{ matrix.php }}
|
key: ${{ runner.os }}-composer-${{ matrix.php }}
|
||||||
|
|
||||||
|
- name: Start Database
|
||||||
|
run: |
|
||||||
|
sudo /etc/init.d/mysql start
|
||||||
|
|
||||||
- name: Setup Database
|
- name: Setup Database
|
||||||
run: |
|
run: |
|
||||||
mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS `bookstack-test`;'
|
mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS `bookstack-test`;'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user