Skip to content

Update README.md

Update README.md #32

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' ]
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