Skip to content

Update README.md

Update README.md #358

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
jobs:
build:
name: PHP ${{ matrix.php }} + ${{ matrix.dependencies }} + symfony ${{ matrix.symfony-require }}
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.2', '8.3']
dependencies: [highest]
symfony-require: [highest]
include:
- php: '8.1'
dependencies: lowest
symfony-require: highest
- php: '8.3'
dependencies: highest
symfony-require: 6.4.*
- php: '8.3'
dependencies: highest
symfony-require: 7.1.*
env:
SYMFONY_REQUIRE: ${{matrix.symfony-require}}
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
- run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- if: matrix.symfony-require != 'highest'
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins symfony/flex
- uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: ${{ matrix.composer-options }}
- run: vendor/bin/phpunit --coverage-clover=clover.xml
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}