aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-10 12:00:58 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-12-14 09:11:27 +0100
commit0d9c2cc0a2983b678bc839fe95b90cb7781b8149 (patch)
tree1ea78ef34ecee1f7daac12c2d1f53a9b4e849f48 /scripts
parent83ef31fe10061f0d3db0df1bc5e7f208972982eb (diff)
downloadPeerTube-0d9c2cc0a2983b678bc839fe95b90cb7781b8149.tar.gz
PeerTube-0d9c2cc0a2983b678bc839fe95b90cb7781b8149.tar.zst
PeerTube-0d9c2cc0a2983b678bc839fe95b90cb7781b8149.zip
Test with 3 parallel tests
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 238eba371..c6f5b8e77 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -52,7 +52,7 @@ elif [ "$1" = "api-1" ]; then
52 notificationsFiles=$(findTestFiles server/tests/api/notifications) 52 notificationsFiles=$(findTestFiles server/tests/api/notifications)
53 searchFiles=$(findTestFiles server/tests/api/search) 53 searchFiles=$(findTestFiles server/tests/api/search)
54 54
55 MOCHA_PARALLEL=true runTest 2 $notificationsFiles $searchFiles $checkParamFiles 55 MOCHA_PARALLEL=true runTest 3 $notificationsFiles $searchFiles $checkParamFiles
56elif [ "$1" = "api-2" ]; then 56elif [ "$1" = "api-2" ]; then
57 npm run build:server 57 npm run build:server
58 58
@@ -60,13 +60,13 @@ elif [ "$1" = "api-2" ]; then
60 usersFiles=$(findTestFiles server/tests/api/users) 60 usersFiles=$(findTestFiles server/tests/api/users)
61 liveFiles=$(findTestFiles server/tests/api/live) 61 liveFiles=$(findTestFiles server/tests/api/live)
62 62
63 MOCHA_PARALLEL=true runTest 2 $serverFiles $usersFiles $liveFiles 63 MOCHA_PARALLEL=true runTest 3 $serverFiles $usersFiles $liveFiles
64elif [ "$1" = "api-3" ]; then 64elif [ "$1" = "api-3" ]; then
65 npm run build:server 65 npm run build:server
66 66
67 videosFiles=$(findTestFiles server/tests/api/videos) 67 videosFiles=$(findTestFiles server/tests/api/videos)
68 68
69 MOCHA_PARALLEL=true runTest 2 $videosFiles 69 MOCHA_PARALLEL=true runTest 3 $videosFiles
70elif [ "$1" = "api-4" ]; then 70elif [ "$1" = "api-4" ]; then
71 npm run build:server 71 npm run build:server
72 72