The cdb code in mw core was recently moved out to a separate library. The "cdb" repo should have:
- php linter
- phpunit tests
- composer validate
Version: unspecified
Severity: major
The cdb code in mw core was recently moved out to a separate library. The "cdb" repo should have:
Version: unspecified
Severity: major
Since that project has some PHPUnit based tests, you might want to add the job '{name}-phpunit' to it. It uses the PHPUnit version from integration/phpunit.
You will need to add to the repo a phpunit.xml.dist file, look at ParserHooks, Semantic* or Wikibase extensions for examples :)
Change 174080 had a related patch set uploaded by Hashar:
Add 'composer test' to run PHPUnit
Change 175444 had a related patch set uploaded (by Krinkle):
build: Set up phplint and phpunit
This is on hold while we figure out how to use composer, specially we need to determine a set of conventions that are used on all repositories which make it easy for developers to run tests and for Jenkins jobs to tweak the test commands settings.
This has been resolved. We have a Jenkins job template to run composer test and the cdb repo invokes parallel PHP linting + PHPUnit.