Improve examples

This commit is contained in:
Shivam Mathur
2022-04-03 04:24:07 +05:30
parent 9e33c7b24e
commit 6ae3564af4
12 changed files with 80 additions and 13 deletions

View File

@ -8,6 +8,8 @@ jobs:
matrix:
php-versions: ['7.4', '8.0', '8.1']
runs-on: ubuntu-latest
# Docs: https://docs.github.com/en/actions/using-containerized-services
services:
mysql:
image: mysql:latest
@ -38,8 +40,10 @@ jobs:
extensions: mbstring, intl, redis, pdo_mysql
coverage: pcov
- name: Start mysql service
run: sudo systemctl start mysql
# Local MySQL service in GitHub hosted environments is disabled by default.
# If you are using it instead of service containers, make sure you start it.
# - name: Start mysql service
# run: sudo systemctl start mysql.service
- name: Get composer cache directory
id: composer-cache