Skip to content

Run tests on PHP 8.2 and PHP 8.3 (#46) #116

Run tests on PHP 8.2 and PHP 8.3 (#46)

Run tests on PHP 8.2 and PHP 8.3 (#46) #116

Workflow file for this run

name: Tests
on: [push]
jobs:
phpunit:
name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
php: [8.0, 8.1, 8.2, 8.3]
os: [ubuntu-latest, windows-latest]
dependency-version: [lowest, highest]
steps:
- uses: actions/[email protected]
- name: Configure PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, fileinfo
coverage: none
- name: Install dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependency-version }}
composer-options: "--prefer-dist"
- name: Execute tests
run: vendor/bin/phpunit