Skip to content

Modernize code style & Refactor implementation while retaining compat… #55

Modernize code style & Refactor implementation while retaining compat…

Modernize code style & Refactor implementation while retaining compat… #55

Workflow file for this run

name: CI
on:
- pull_request
- push
jobs:
unit-tests:
strategy:
matrix:
operating-system:
- ubuntu-latest
php-version:
- 8.3
- 8.4
- 8.5
name: unit-tests on php-${{ matrix.php-version }} - ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
steps:
- name: Pull Code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: imagick
coverage: xdebug
tools: phpstan
- name: Install composer dependencies
run: composer update --no-ansi --no-interaction --no-progress
- name: Run PHPStan
run: phpstan analyse src
- name: Run unit tests
run: vendor/bin/phpunit tests