MediaWiki-extensions-Babel does not require CommunityConfiguration in `extension.json. Running the PHPUnit tests fail though:
16:16:37 1) Babel\Tests\Unit\ConfigWrapperTest::testReturnsArray 16:16:37 PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "MediaWiki\Extension\CommunityConfiguration\Access\MediaWikiConfigRouter" does not exist 16:16:37 16:16:37 /workspace/src/tests/phpunit/MediaWikiTestCaseTrait.php:63 16:16:37 /workspace/src/extensions/Babel/tests/phpunit/unit/ConfigWrapperTest.php:15 16:16:37
16:16:37 2) Babel\Tests\Unit\ConfigWrapperTest::testRelaysHas 16:16:37 PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "MediaWiki\Extension\CommunityConfiguration\Access\MediaWikiConfigRouter" does not exist 16:16:37 16:16:37 /workspace/src/tests/phpunit/MediaWikiTestCaseTrait.php:63 16:16:37 /workspace/src/extensions/Babel/tests/phpunit/unit/ConfigWrapperTest.php:29 16:16:37
Those tests should be skipped when CommunityConfiguration is not present with markTestSkippedIfExtensionNotLoaded( 'CommunityConfiguration' )
Note tests/phpunit/integration/maintenance/MigrateConfigToCommunityTest.php extends MediaWiki\Extension\CommunityConfiguration\Tests\SchemaProviderTestCase so I don't think we can make it skippable.
See also T410117: ReportIncident PHPUnit tests fail when CommunityConfiguration is not present