aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/ci-4.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-30 14:44:08 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-07-31 11:32:04 +0200
commit7abb5c5da1ed7c6945e81b9e3da0a14f623f69ea (patch)
treeb8b1aa1fe87b081bacd7013ffce4d11ad66b5192 /server/tests/api/ci-4.sh
parentb488ba1e26b803ac6c637e8b11bdd444ca4c803f (diff)
downloadPeerTube-7abb5c5da1ed7c6945e81b9e3da0a14f623f69ea.tar.gz
PeerTube-7abb5c5da1ed7c6945e81b9e3da0a14f623f69ea.tar.zst
PeerTube-7abb5c5da1ed7c6945e81b9e3da0a14f623f69ea.zip
Use parallel to run tests in parallel
Diffstat (limited to 'server/tests/api/ci-4.sh')
-rw-r--r--server/tests/api/ci-4.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/server/tests/api/ci-4.sh b/server/tests/api/ci-4.sh
deleted file mode 100644
index 4998de364..000000000
--- a/server/tests/api/ci-4.sh
+++ /dev/null
@@ -1,11 +0,0 @@
1#!/usr/bin/env sh
2
3set -eu
4
5activitypubFiles=$(find server/tests/api/moderation -type f | grep -v index.ts | xargs echo)
6redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
7activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)
8
9TS_NODE_FILES=true MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \
10 --require ts-node/register --require tsconfig-paths/register --bail \
11 $redundancyFiles $activitypubFiles