Skip to content

Adapt

Adapt #876

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
run:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
php: [ '8.1', '8.2', '8.3', '8.4' ]
imagemagick: [ '6.9.12-55', '7.1.1-32' ]
imagick: [ '3.7.0' ]
stability: [ prefer-stable ]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ImageMagick ${{ matrix.imagemagick }}
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, gd, imagick
coverage: none
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Imagick Version
run: php -r 'var_dump(Imagick::getVersion());'
- name: Execute tests
run: vendor/bin/phpunit --no-coverage