Skip to content
This repository was archived by the owner on Jun 13, 2026. It is now read-only.

[Claude] Add PHP 8.5 to CI test matrix #44

[Claude] Add PHP 8.5 to CI test matrix

[Claude] Add PHP 8.5 to CI test matrix #44

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php: [5.3, 5.4, 5.5, 5.6, '7.0', 7.1, 7.2, 7.3, 7.4, '8.0', 8.1, 8.2, 8.3, 8.4, 8.5]
flags: ['']
include:
- { php: 5.3, flags: --prefer-lowest }
- { php: 5.4, flags: --prefer-lowest }
- { php: 5.5, flags: --prefer-lowest }
- { php: 5.6, flags: --prefer-lowest }
- { php: '7.0', flags: --prefer-lowest }
- { php: 7.1, flags: --prefer-lowest }
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- run: composer require phpunit/phpunit --dev ${{ matrix.flags }}
- run: composer show | grep -E '^(phpunit/phpunit|sebastian/comparator)'
- run: 'vendor/bin/phpunit --migrate-configuration || :'
- run: vendor/bin/phpunit