Skip to content

PHP 8.4 compatibility #278

PHP 8.4 compatibility

PHP 8.4 compatibility #278

Workflow file for this run

name: tests
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
stability: [ prefer-stable ]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
extensions: curl, json
php-version: ${{ matrix.php }}
tools: composer:v2
- name: Install composer dependencies
uses: nick-invision/retry@v2
with:
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
max_attempts: 5
timeout_minutes: 5
- name: Run the tests
run: vendor/bin/phpunit --verbose