Update README with detailed Xdebug debugging instructions #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master, v2-dev ] | |
pull_request: | |
branches: [ master, v2-dev ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up environment | |
run: | | |
cp .env.dev .env | |
- name: Start Docker environment | |
run: make start | |
- name: Wait for services to be ready | |
run: | | |
echo "Waiting for services to be ready..." | |
sleep 45 | |
- name: Check environment status | |
run: make status | |
- name: Initialize project | |
run: make init | |
- name: Generate API documentation | |
run: make apidoc | |
continue-on-error: true | |
- name: Generate SSL certificates | |
run: make gen-certs | |
- name: Test database operations | |
run: | | |
make db-dump | |
make db-restore | |
continue-on-error: true | |
- name: Run code quality checks | |
run: make phpmd | |
continue-on-error: true | |
- name: Run tests | |
run: make test | |
continue-on-error: true | |
- name: Stop Docker environment | |
if: always() | |
run: make stop |