From 6403a6bd019a30848f0e9b5f6e7b9734229ab0f1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 19 May 2023 13:33:27 +0200 Subject: peertube runner tests in parallel --- scripts/ci.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/ci.sh b/scripts/ci.sh index 7b2e5d347..9fb67f634 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -114,7 +114,8 @@ elif [ "$1" = "external-plugins" ]; then externalPluginsFiles=$(findTestFiles ./dist/server/tests/external-plugins) peertubeRunnerFiles=$(findTestFiles ./dist/server/tests/peertube-runner) - runTest "$1" 1 $externalPluginsFiles $peertubeRunnerFiles + runTest "$1" 1 $externalPluginsFiles + MOCHA_PARALLEL=true runTest "$1" $((2*$speedFactor)) $peertubeRunnerFiles elif [ "$1" = "lint" ]; then npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" npm run swagger-cli -- validate support/doc/api/openapi.yaml -- cgit v1.2.3