mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #40899 from nextcloud/refactor/unify-running-dev-server
refactor: Unify running a dev server (for automated testing)
This commit is contained in:
commit
7c661895c3
1 changed files with 4 additions and 0 deletions
|
|
@ -60,6 +60,10 @@
|
|||
"psalm": "psalm --no-cache --threads=$(nproc)",
|
||||
"psalm:ci": "psalm --no-cache --threads=1",
|
||||
"psalm:update-baseline": "psalm --no-cache --threads=$(nproc) --update-baseline",
|
||||
"serve": [
|
||||
"Composer\\Config::disableProcessTimeout",
|
||||
"PHP_CLI_SERVER_WORKERS=${NEXTCLOUD_WORKERS:=4} php -S ${NEXTCLOUD_HOST:=localhost}:${NEXTCLOUD_PORT:=8080} -t ./"
|
||||
],
|
||||
"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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue