From 95faf1eafffff4fe1f74025092c7c3eef2951697 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 28 Feb 2022 15:56:51 +0100 Subject: Create another test suite for transcoding jobs --- scripts/ci.sh | 6 ++++++ scripts/test.sh | 1 + 2 files changed, 7 insertions(+) (limited to 'scripts') 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 activitypubFiles=$(findTestFiles ./dist/server/tests/api/activitypub) MOCHA_PARALLEL=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles $objectStorageFiles +elif [ "$1" = "api-5" ]; then + npm run build:server + + transcodingFiles=$(findTestFiles ./dist/server/tests/api/transcoding) + + MOCHA_PARALLEL=true runTest "$1" 2 $transcodingFiles elif [ "$1" = "external-plugins" ]; then npm run build:server 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 npm run ci -- api-2 npm run ci -- api-3 npm run ci -- api-4 +npm run ci -- api-5 npm run ci -- external-plugins npm run ci -- lint -- cgit v1.2.3