]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Run misc tests in parallel
authorChocobozzz <me@florianbigard.com>
Fri, 7 May 2021 12:40:54 +0000 (14:40 +0200)
committerChocobozzz <chocobozzz@cpy.re>
Fri, 7 May 2021 13:42:23 +0000 (15:42 +0200)
scripts/ci.sh

index a0de62d91b6e5ec91d4f905de1a4569b6064a78e..f4a200a002bd62f043a4d001a7f067ec106ea4d9 100755 (executable)
@@ -44,7 +44,7 @@ if [ "$1" = "misc" ]; then
     pluginsFiles=$(findTestFiles server/tests/plugins)
     miscFiles="server/tests/client.ts server/tests/misc-endpoints.ts"
 
-    TS_NODE_FILES=true runTest "$1" 1 $feedsFiles $helperFiles $pluginsFiles $miscFiles
+    MOCHA_PARALLEL=true TS_NODE_FILES=true runTest "$1" 2 $feedsFiles $helperFiles $pluginsFiles $miscFiles
 elif [ "$1" = "cli" ]; then
     npm run build:server
     npm run setup:cli