Skip to content

Make the entity cache tags test compatible with PHPUnit 10 #4253

Make the entity cache tags test compatible with PHPUnit 10

Make the entity cache tags test compatible with PHPUnit 10 #4253

Workflow file for this run

name: Coverage
on:
pull_request: ~
push:
branches:
- 5.x
tags:
- '*'
permissions: read-all
jobs:
coverage:
name: Codecov
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3 # latest stable version
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib
coverage: pcov
- name: Checkout
uses: actions/checkout@v3
- name: Install the dependencies
run: composer install --no-interaction --no-progress
- name: Generate the coverage report
run: php -d pcov.enabled=1 vendor/bin/phpunit --testsuite=coverage --coverage-clover=clover.xml
- name: Upload the coverage report
uses: codecov/codecov-action@v3
with:
files: ./clover.xml
fail_ci_if_error: true
token: c9fc8445-628e-41c3-886a-a37ebd3c4807