For MediaWiki core, we generate code coverage reports via unit tests only (the tests in tests/phpunit/unit.
This task proposes to do the same thing for extensions that are in the codehealth pipeline.
As a downside, every extension's code coverage report in SonarQube will drop significantly.
As a plus:
- We won't have to install MediaWiki or clone Zuul dependencies in order to generate the PHP coverage report; we'll just need composer install and npm install. I think this could save a few minutes per build and free up CI resources
- We'll help encourage writing more unit tests for extensions that are in the codehealth pipeline