diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-10 12:00:58 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-14 09:11:27 +0100 |
commit | 0d9c2cc0a2983b678bc839fe95b90cb7781b8149 (patch) | |
tree | 1ea78ef34ecee1f7daac12c2d1f53a9b4e849f48 /scripts | |
parent | 83ef31fe10061f0d3db0df1bc5e7f208972982eb (diff) | |
download | PeerTube-0d9c2cc0a2983b678bc839fe95b90cb7781b8149.tar.gz PeerTube-0d9c2cc0a2983b678bc839fe95b90cb7781b8149.tar.zst PeerTube-0d9c2cc0a2983b678bc839fe95b90cb7781b8149.zip |
Test with 3 parallel tests
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 6 |
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 |
56 | elif [ "$1" = "api-2" ]; then | 56 | elif [ "$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 |
64 | elif [ "$1" = "api-3" ]; then | 64 | elif [ "$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 |
70 | elif [ "$1" = "api-4" ]; then | 70 | elif [ "$1" = "api-4" ]; then |
71 | npm run build:server | 71 | npm run build:server |
72 | 72 | ||