Skip to content

ci: add testing for PHP 8.2 and later #156

ci: add testing for PHP 8.2 and later

ci: add testing for PHP 8.2 and later #156

Workflow file for this run

name: PHPUnit
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction
- name: Run test suite
run: vendor/bin/phpunit