Add PCOV extension to images

Created on 24 November 2023, about 1 year ago
Updated 6 May 2024, 8 months ago

Problem/Motivation

Gitlab supports utilizing code coverage reporting as part of Code Quality analysis, both for reviewing overall coverage, and for reviewing lines added during an MR to help identify untested code.

PHPUnit maintainer appears to prefer PCOV over XDEBUG.

PCOV tends to be more time efficient than XDEBUG at the expense of possibly higher memory usage.

Currently contrib must download and compile the library during each test run in order to utilize it. Addtionaly with the latest changes to the images contrib will also need to download and install the build tools.

Having the the module in the images would allow skipping these stages.

It would be acceptable for the extension to ship disabled, especially if docker-php-ext-enable is available on the images.

Steps to reproduce

n/a

Proposed resolution

Add PCOV to images.

Remaining tasks

Patch

User interface changes

None

API changes

None

Data model changes

None

✨ Feature request
Status

Fixed

Component

PHP Containers

Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024