On CI, when an extension depends on CommunityConfiguration, tests will fail cause it also requires CommunityConfigurationExample which force us to add it as a dependency to any extension that uses CommunityConfiguration. Currently CommunityConfigurationExample is being injected because CI processes dependencies recursively and we are removing that behavior (see T389998).
The affected extensions are: AutoModerator, Babel, CheckUser,Cite, GrowthExperiments, ReportIncident
A build would fail with:
1) MediaWiki\Extension\CommunityConfiguration\Tests\CommunityConfigurationTestHelpersTest::testOverrideProviderOK InvalidArgumentException: Provider CommunityConfigurationExample is not supported extensions/CommunityConfiguration/src/Provider/ConfigurationProviderFactory.php:100 extensions/CommunityConfiguration/tests/phpunit/CommunityConfigurationTestHelpers.php:42 extensions/CommunityConfiguration/tests/phpunit/integration/CommunityConfigurationTestHelpersTest.php:23
2) MediaWiki\Extension\CommunityConfiguration\Tests\Integration\UpdateEmergencyDefaultsTest::testUpdateOK MediaWiki\Maintenance\MaintenanceFatalError: maintenance/includes/Maintenance.php:565 extensions/CommunityConfiguration/maintenance/UpdateEmergencyDefaults.php:57 vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:114 extensions/CommunityConfiguration/tests/phpunit/integration/maintenance/UpdateEmergencyDefaultsTest.php:53
This task is about making it possible to run CommunityConfiguration tests without CommunityConfigurationExample.