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

@ -15,6 +15,8 @@ jobs:
DB_PASSWORD: postgres
DB_USERNAME: postgres
DB_DATABASE: postgres
# Docs: https://docs.github.com/en/actions/using-containerized-services
services:
postgres:
image: postgres:latest
@ -47,6 +49,11 @@ jobs:
extensions: mbstring, dom, fileinfo, pgsql
coverage: xdebug
# Local PostgreSQL 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 postgresql service
# run: sudo systemctl start postgresql.service
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"