aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/ci-2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/ci-2.sh')
-rw-r--r--server/tests/api/ci-2.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/tests/api/ci-2.sh b/server/tests/api/ci-2.sh
new file mode 100644
index 000000000..16ab585e9
--- /dev/null
+++ b/server/tests/api/ci-2.sh
@@ -0,0 +1,9 @@
1#!/usr/bin/env sh
2
3set -eu
4
5serverFiles=$(find server/tests/api/server -type f | grep -v index.ts | xargs echo)
6usersFiles=$(find server/tests/api/users -type f | grep -v index.ts | xargs echo)
7
8MOCHA_PARALLEL=true npm run mocha-parallel-tests -- --max-parallel $1 --timeout 30000 --exit --require ts-node/register --bail \
9 $serverFiles $usersFiles