]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/ci.sh
Fix tests timeout
[github/Chocobozzz/PeerTube.git] / scripts / ci.sh
index dd4c283565662a3d8d43a587fcea21bbb3344c4c..9399a0f590128a5eeeb580784abe50b438a27f61 100755 (executable)
@@ -27,7 +27,7 @@ runTest () {
 
     joblog="$jobname-ci.log"
 
-    parallel -j $jobs  \
+    parallel -j $jobs --retries $retries \
         "echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail {}" \
         ::: $files
 
@@ -40,7 +40,7 @@ findTestFiles () {
 }
 
 if [ "$1" = "misc" ]; then
-    npm run build -- --light
+    npm run build
 
     feedsFiles=$(findTestFiles server/tests/feeds)
     helperFiles=$(findTestFiles server/tests/helpers)