aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci.sh')
-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