Skip to content

Drop PHP <8.1 (EOL) #156

Drop PHP <8.1 (EOL)

Drop PHP <8.1 (EOL) #156

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
dependencies:
- "lowest"
- "highest"
steps:
- uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, dom, igbinary
- name: Validate composer.json and composer.lock
run: composer validate
- name: "Composer install ${{ matrix.dependencies }} dependencies"
uses: ramsey/composer-install@v2
with:
dependency-versions: "${{ matrix.dependencies }}"
env:
COMPOSER_PROCESS_TIMEOUT: 6000
- name: Run test suite
run: composer run-script test