aboutsummaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2021-02-12 18:23:56 -0800
committerJforrester <jforrester@wikimedia.org>2021-05-08 18:50:49 +0000
commit87c36d579b4db722f27efd3bb9862e99fe8f26eb (patch)
tree0abfeebf0f2133d3ad39cd67c13bdc6cc66e0015 /composer.json
parentc1d1d65d6c5388f4b17e30328d2d9359119ec688 (diff)
downloadmediawikicore-87c36d579b4db722f27efd3bb9862e99fe8f26eb.tar.gz
mediawikicore-87c36d579b4db722f27efd3bb9862e99fe8f26eb.zip
composer: Make `test` run for the whole repo
Scripts that want to test specific files should use the `test-some` command, e.g. `composer test-some path/to/file.php`. Note that the dependency in Quibble must be merged, released, and deployed to CI before this can be merged, lest CI is slowed down massively. Bug: T199403 Depends-On: I383ec29bfa0f051099c12ada19de04552c6dbd97 Change-Id: I58db748ebeea1f370906bb4c026833325c25486c
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index 00e079c8f43c..d09d21ef314e 100644
--- a/composer.json
+++ b/composer.json
@@ -135,8 +135,8 @@
"post-install-cmd": "ComposerVendorHtaccessCreator::onEvent",
"post-update-cmd": "ComposerVendorHtaccessCreator::onEvent",
"test": [
- "composer lint",
- "composer phpcs"
+ "composer lint .",
+ "composer phpcs ."
],
"test-some": [
"composer lint",