feat: add support for http messages v2 #201
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ['8.0', '8.1', '8.2'] | |
name: PHP ${{ matrix.php }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: xdebug | |
- name: Check composer configuration | |
run: composer validate --strict | |
- name: Install dependencies | |
run: composer install --no-progress --prefer-dist --optimize-autoloader | |
- name: Check php-cs-fixer | |
run: composer php-cs-fixer-dry-run | |
- name: PHPUnit tests | |
run: vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover clover.xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |