Skip to content

chore: prepare v3.0 removing support to PHP 8.0 #226

chore: prepare v3.0 removing support to PHP 8.0

chore: prepare v3.0 removing support to PHP 8.0 #226

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.2', '8.3']
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