1
0
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:
Franz Liedke 2020-03-17 22:23:11 +01:00
parent a2d1245e90
commit bc69588785
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -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