diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-28 15:56:51 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-28 16:02:08 +0100 |
commit | 95faf1eafffff4fe1f74025092c7c3eef2951697 (patch) | |
tree | 8a18d271200d2c87ea5fff6b1f97efcda69d2f21 /scripts | |
parent | cba7977552e909ea0ea4dc526788a9166ad5f535 (diff) | |
download | PeerTube-95faf1eafffff4fe1f74025092c7c3eef2951697.tar.gz PeerTube-95faf1eafffff4fe1f74025092c7c3eef2951697.tar.zst PeerTube-95faf1eafffff4fe1f74025092c7c3eef2951697.zip |
Create another test suite for transcoding jobs
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 6 | ||||
-rwxr-xr-x | scripts/test.sh | 1 |
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 |
97 | elif [ "$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 | ||
97 | elif [ "$1" = "external-plugins" ]; then | 103 | elif [ "$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 | |||
9 | npm run ci -- api-2 | 9 | npm run ci -- api-2 |
10 | npm run ci -- api-3 | 10 | npm run ci -- api-3 |
11 | npm run ci -- api-4 | 11 | npm run ci -- api-4 |
12 | npm run ci -- api-5 | ||
12 | npm run ci -- external-plugins | 13 | npm run ci -- external-plugins |
13 | 14 | ||
14 | npm run ci -- lint | 15 | npm run ci -- lint |