Skip to content

Removed rector from composer.json #112

Removed rector from composer.json

Removed rector from composer.json #112

Workflow file for this run

name: CI-coverage
on: [ push, pull_request ]
permissions:
contents: read
jobs:
test-php:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-version: [ "7.4", "8.0", "8.4" ]
steps:
- uses: actions/checkout@v5
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
extensions: curl, json
coverage: xdebug
tools: composer:v2
ini-values: xdebug.mode=coverage
- name: Validate Composer files
run: composer validate --strict
- name: Install dependencies
uses: ramsey/composer-install@v3
with:
composer-options: --no-interaction --prefer-dist
- name: Run PHPUnit
run: vendor/bin/phpunit --configuration phpunit.xml --coverage-clover=coverage.xml --exclude-group local-only
env:
XDEBUG_MODE: coverage
- name: Upload coverage to Codecov
if: matrix.php-version == '8.4'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
disable_search: true
fail_ci_if_error: true