Sfoglia il codice sorgente

refactor: Unify running a dev server (for automated testing)

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v28.0.0beta1
Christoph Wurst 7 mesi fa
parent
commit
0da4c14cdf
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      composer.json

+ 4
- 0
composer.json Vedi File

@@ -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…
Annulla
Salva