Skip to content

ci: update PHP version matrix to include 8.1 and 8.4 #14

ci: update PHP version matrix to include 8.1 and 8.4

ci: update PHP version matrix to include 8.1 and 8.4 #14

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.0, 8.1, 8.4]
composer-flags: [null, --prefer-lowest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- run: composer update ${{ matrix.composer-flags }} --no-interaction --no-progress --prefer-dist --ansi
- run: npm install
- run: ./vendor/bin/phpunit --color=always