Skip to content

Merge pull request #24 from chadicus/v3.x #17

Merge pull request #24 from chadicus/v3.x

Merge pull request #24 from chadicus/v3.x #17

Workflow file for this run

name: PHP Composer
on:
push:
branches: [ v3.x ]
pull_request:
branches: [ v3.x ]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run PHPCS
run: composer run-script lint
- name: Run PHPUnit
run: composer run-script test