aboutsummaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-09-28 13:20:49 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-02 11:33:14 +0200
commit0e64ec6550148757ade13dd45f444776651db639 (patch)
treed9c7c058458915be4feba676c510c47d7618ca30 /composer.json
parent0cb489d6caba3966f00f6e1d01790df9c6872fc2 (diff)
downloadnextcloud-server-0e64ec6550148757ade13dd45f444776651db639.tar.gz
nextcloud-server-0e64ec6550148757ade13dd45f444776651db639.zip
chore: Install phpunit via vendor bin
This means we can all run the same version. And when switching to stableX it can pull the corresponding version too. Also local dev envs and CI run the same phpunit. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index b70cfcb933b..e3da98e0277 100644
--- a/composer.json
+++ b/composer.json
@@ -49,6 +49,9 @@
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm --no-cache --threads=$(nproc)",
"psalm:ci": "psalm --no-cache --threads=1",
- "psalm:update-baseline": "psalm --no-cache --threads=$(nproc) --update-baseline"
+ "psalm:update-baseline": "psalm --no-cache --threads=$(nproc) --update-baseline",
+ "test": "phpunit --configuration tests/phpunit-autotest.xml",
+ "test:db": "@composer run test -- --group DB,SLOWDB",
+ "test:files_external": "phpunit --configuration tests/phpunit-autotest-external.xml"
}
}