Skip to content

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

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

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

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
name: PHP ${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependency-version }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
php: ["8.1", "8.2"]
dependency-version: ["highest", "lowest"]
steps:
- uses: actions/checkout@v4
- 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