Skip to content

Runt tests on PHP 8.3 (#72) #167

Runt tests on PHP 8.3 (#72)

Runt tests on PHP 8.3 (#72) #167

Workflow file for this run

name: Run Tests
on: [push]
jobs:
php-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
php: [8.1, 8.2, 8.3]
dependency-version: [lowest, highest]
name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} on ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
- name: Setup PHP
uses: shivammathur/setup-php@2.28.0
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: "--no-suggest --prefer-dist"
- name: Execute tests
run: vendor/bin/phpunit