Skip to content

Bump ramsey/composer-install from 2 to 3 (#48) #119

Bump ramsey/composer-install from 2 to 3 (#48)

Bump ramsey/composer-install from 2 to 3 (#48) #119

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/checkout@v4.1.1
- 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@v3
with:
dependency-versions: ${{ matrix.dependency-version }}
composer-options: "--prefer-dist"
- name: Execute tests
run: vendor/bin/phpunit