Skip to content

Update tests for all versions of PHP 8 #62

Update tests for all versions of PHP 8

Update tests for all versions of PHP 8 #62

Workflow file for this run

name: test
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.0', '8.1', '8.2', '8.3', '8.4']
psr-log-version: ['^2.0', '^3.0']
steps:
- uses: actions/checkout@v2
- name: install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- run: composer validate
- run: composer require psr/log:${{ matrix.psr-log-version }} --no-update
- name: install dependencies
run: composer update --prefer-dist --no-progress --no-interaction ${{ matrix.composer-flags }}
- run: make test