Removed year declaration from LICENSE #55
Workflow file for this run
This file contains 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, pull_request] | |
env: | |
APP_ENV: dev | |
fail-fast: true | |
FORCE_COLOR: "true" | |
jobs: | |
all_in_one: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: ['8.3'] | |
name: Build, QA and Tests on PHP ${{ matrix.php-versions }} | |
services: | |
mysql: | |
image: mariadb:11.5.2 | |
env: | |
MARIADB_DATABASE: pingcrm | |
MARIADB_USER: pingcrm | |
MARIADB_PASSWORD: pingcrm | |
MARIADB_ROOT_PASSWORD: pingcrm | |
ports: | |
- 3306:3306 | |
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
coverage: none | |
tools: symfony | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
- name: Install dependencies | |
run: | | |
composer install --ansi --no-progress | |
yarn install --no-progress | |
- name: Build assets | |
run: yarn encore production | |
- name: QA | |
run: | | |
sed -i "s#php-cs-fixer check#php-cs-fixer check --show-progress=none#" composer.json | |
sed -i "s#phpstan analyse#phpstan analyse --no-progress#" composer.json | |
sed -i "s#doctrine:schema:validate#doctrine:schema:validate --skip-sync#" composer.json | |
composer qa --ansi | |
- name: Tests | |
run: | | |
composer test --ansi |