Skip to content

Merge pull request #189 from ecrider/master #56

Merge pull request #189 from ecrider/master

Merge pull request #189 from ecrider/master #56

Workflow file for this run

name: PHP CI
on: ["push", "pull_request"]
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-20.04]
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: gd, xdebug, fileinfo
coverage: xdebug
tools: php-cs-fixer, phpunit
- name: Composer Install
run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Running Tests
run: |
mkdir -p build/logs
./vendor/bin/phpunit