aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-28 15:56:51 +0100
committerChocobozzz <me@florianbigard.com>2022-02-28 16:02:08 +0100
commit95faf1eafffff4fe1f74025092c7c3eef2951697 (patch)
tree8a18d271200d2c87ea5fff6b1f97efcda69d2f21 /scripts
parentcba7977552e909ea0ea4dc526788a9166ad5f535 (diff)
downloadPeerTube-95faf1eafffff4fe1f74025092c7c3eef2951697.tar.gz
PeerTube-95faf1eafffff4fe1f74025092c7c3eef2951697.tar.zst
PeerTube-95faf1eafffff4fe1f74025092c7c3eef2951697.zip
Create another test suite for transcoding jobs
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh6
-rwxr-xr-xscripts/test.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 2bacf2a2e..5f1230d33 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -94,6 +94,12 @@ elif [ "$1" = "api-4" ]; then
94 activitypubFiles=$(findTestFiles ./dist/server/tests/api/activitypub) 94 activitypubFiles=$(findTestFiles ./dist/server/tests/api/activitypub)
95 95
96 MOCHA_PARALLEL=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles $objectStorageFiles 96 MOCHA_PARALLEL=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles $objectStorageFiles
97elif [ "$1" = "api-5" ]; then
98 npm run build:server
99
100 transcodingFiles=$(findTestFiles ./dist/server/tests/api/transcoding)
101
102 MOCHA_PARALLEL=true runTest "$1" 2 $transcodingFiles
97elif [ "$1" = "external-plugins" ]; then 103elif [ "$1" = "external-plugins" ]; then
98 npm run build:server 104 npm run build:server
99 105
diff --git a/scripts/test.sh b/scripts/test.sh
index 4d1d8720a..3b294b386 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -9,6 +9,7 @@ npm run ci -- api-1
9npm run ci -- api-2 9npm run ci -- api-2
10npm run ci -- api-3 10npm run ci -- api-3
11npm run ci -- api-4 11npm run ci -- api-4
12npm run ci -- api-5
12npm run ci -- external-plugins 13npm run ci -- external-plugins
13 14
14npm run ci -- lint 15npm run ci -- lint