The Wikibase API tests CI job currently takes almost 15 minutes to run:
mediawiki-quibble-apitests-vendor-php74 (10035): 864 Setup: 11 Versions: 1 Ensure dir: '/workspace/log': 0 Zuul clone : 90 Submodule update: /workspace/src: 14 Install composer dev-requires for vendor.git: 10 Start backends: <MySQL (no socket)>: 4 Run Post-dependency install: 0 Install MediaWiki: 8 npm install in /workspace/src: 2 Start backends: <ExternalWebserver http://127.0.0.1:9413 /workspace/src> <Xvfb :94> <ChromeWebDriver :94>: 0 Run API-Testing: 691 PostBuildScript: 33
Most of this time (691 seconds) is spent running the API test suite, which is a mocha integration test suite.
mocha supports parallel execution with the --parallel flag. Identify which Wikibase test suites can be parallelised this way, and enable the flag for those suites.