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

@ -11,6 +11,8 @@ jobs:
TEST_DB_USERNAME: root
TEST_DB_PASSWORD: yii
DB_CHARSET: utf8
# Docs: https://docs.github.com/en/actions/using-containerized-services
services:
mysql:
image: mysql:latest
@ -42,8 +44,10 @@ jobs:
extensions: mbstring, intl, gd, imagick, zip, dom, mysql
coverage: xdebug
- 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