mirror of
https://github.com/flarum/core.git
synced 2025-02-19 15:44:56 +01: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
a2d1245e90
commit
bc69588785
4
.github/workflows/test.yml
vendored
4
.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…
x
Reference in New Issue
Block a user