]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/tests/api/ci-4.sh
Implement abuses check params
[github/Chocobozzz/PeerTube.git] / server / tests / api / ci-4.sh
CommitLineData
48f07b4a
C
1#!/usr/bin/env sh
2
3set -eu
4
5redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
6activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)
7
07aea1a2
C
8TS_NODE_FILES=true MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \
9 --require ts-node/register --require tsconfig-paths/register --bail \
4c8ef0ec 10 $redundancyFiles $activitypubFiles