]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/tests/api/ci-4.sh
Add migrations
[github/Chocobozzz/PeerTube.git] / server / tests / api / ci-4.sh
CommitLineData
48f07b4a
C
1#!/usr/bin/env sh
2
3set -eu
4
4f32032f 5activitypubFiles=$(find server/tests/api/moderation -type f | grep -v index.ts | xargs echo)
48f07b4a
C
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
07aea1a2
C
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 \
4c8ef0ec 11 $redundancyFiles $activitypubFiles