diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-30 14:44:08 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-31 11:32:04 +0200 |
commit | 7abb5c5da1ed7c6945e81b9e3da0a14f623f69ea (patch) | |
tree | b8b1aa1fe87b081bacd7013ffce4d11ad66b5192 /server/tests/api/ci-2.sh | |
parent | b488ba1e26b803ac6c637e8b11bdd444ca4c803f (diff) | |
download | PeerTube-7abb5c5da1ed7c6945e81b9e3da0a14f623f69ea.tar.gz PeerTube-7abb5c5da1ed7c6945e81b9e3da0a14f623f69ea.tar.zst PeerTube-7abb5c5da1ed7c6945e81b9e3da0a14f623f69ea.zip |
Use parallel to run tests in parallel
Diffstat (limited to 'server/tests/api/ci-2.sh')
-rw-r--r-- | server/tests/api/ci-2.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/tests/api/ci-2.sh b/server/tests/api/ci-2.sh deleted file mode 100644 index 016df1cfc..000000000 --- a/server/tests/api/ci-2.sh +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | serverFiles=$(find server/tests/api/server -type f | grep -v index.ts | xargs echo) | ||
6 | usersFiles=$(find server/tests/api/users -type f | grep -v index.ts | xargs echo) | ||
7 | |||
8 | MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \ | ||
9 | --require ts-node/register --require tsconfig-paths/register --bail \ | ||
10 | $serverFiles $usersFiles | ||