mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 06:26:13 +08:00
CI: Fix broken build on GitHub Actions
The MySQL service is no longer started by default on these agents. See 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
b99f1bc384
commit
21188eba39
4
framework/core/.github/workflows/test.yml
vendored
4
framework/core/.github/workflows/test.yml
vendored
|
@ -49,7 +49,9 @@ jobs:
|
|||
run: sudo update-alternatives --set php $(which php${{ matrix.php }})
|
||||
|
||||
- name: Create MySQL Database
|
||||
run: mysql -uroot -proot -e 'CREATE DATABASE flarum_test;' --port 13306
|
||||
run: |
|
||||
sudo systemctl start mysql
|
||||
mysql -uroot -proot -e 'CREATE DATABASE flarum_test;' --port 13306
|
||||
|
||||
- name: Install Composer dependencies
|
||||
run: composer install
|
||||
|
|
Loading…
Reference in New Issue
Block a user