aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-19 13:33:27 +0200
committerChocobozzz <me@florianbigard.com>2023-05-19 13:33:27 +0200
commit6403a6bd019a30848f0e9b5f6e7b9734229ab0f1 (patch)
tree8fb162cdb5e42ee6bb5a11acedb88218b12aa200 /scripts
parent30453cb5ba523020c488dfb7986a9848870393a5 (diff)
downloadPeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.tar.gz
PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.tar.zst
PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.zip
peertube runner tests in parallel
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh3
1 files changed, 2 insertions, 1 deletions
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
114 externalPluginsFiles=$(findTestFiles ./dist/server/tests/external-plugins) 114 externalPluginsFiles=$(findTestFiles ./dist/server/tests/external-plugins)
115 peertubeRunnerFiles=$(findTestFiles ./dist/server/tests/peertube-runner) 115 peertubeRunnerFiles=$(findTestFiles ./dist/server/tests/peertube-runner)
116 116
117 runTest "$1" 1 $externalPluginsFiles $peertubeRunnerFiles 117 runTest "$1" 1 $externalPluginsFiles
118 MOCHA_PARALLEL=true runTest "$1" $((2*$speedFactor)) $peertubeRunnerFiles
118elif [ "$1" = "lint" ]; then 119elif [ "$1" = "lint" ]; then
119 npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" 120 npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts"
120 npm run swagger-cli -- validate support/doc/api/openapi.yaml 121 npm run swagger-cli -- validate support/doc/api/openapi.yaml