Update composer.json #116
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 | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: ['7.4'] | |
name: PHP ${{ matrix.php-versions }} | |
steps: | |
- name: π€ Checkout project | |
uses: actions/checkout@v2 | |
- name: π Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
ini-values: xdebug.mode=coverage | |
tools: composer | |
- name: π¦ Install dependencies | |
run: composer update | |
- name: β Run tests | |
run: composer test | |
cs: | |
runs-on: ubuntu-latest | |
name: Code style | |
steps: | |
- name: π€ Checkout project | |
uses: actions/checkout@v2 | |
- name: π Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
tools: composer | |
- name: π¦ Install dependencies | |
run: composer update | |
- name: β¨ Run code style check | |
run: composer cs | |
phpstan: | |
runs-on: ubuntu-latest | |
name: Static analysis | |
steps: | |
- name: π€ Checkout project | |
uses: actions/checkout@v2 | |
- name: π Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
tools: composer | |
- name: π¦ Install dependencies | |
run: composer update | |
- name: π Run static analysis | |
run: composer phpstan |