1
0
Fork 0
peertube/server/tests/api/ci-4.sh

12 lines
519 B
Bash
Raw Normal View History

2019-04-26 02:50:52 -04:00
#!/usr/bin/env sh
set -eu
2020-07-07 08:34:16 -04:00
activitypubFiles=$(find server/tests/api/moderation -type f | grep -v index.ts | xargs echo)
2019-04-26 02:50:52 -04:00
redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)
TS_NODE_FILES=true MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \
--require ts-node/register --require tsconfig-paths/register --bail \
$redundancyFiles $activitypubFiles