From c221d62a8b5b8775fd7d737d1f79a0b764261f18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 9 Mar 2021 15:45:37 +0100 Subject: [PATCH] Fix CI moderation tests --- scripts/ci.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci.sh b/scripts/ci.sh index d90c2cd10..a0de62d91 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -77,11 +77,11 @@ elif [ "$1" = "api-3" ]; then elif [ "$1" = "api-4" ]; then npm run build:server - activitypubFiles=$(findTestFiles server/tests/api/moderation) + moderationFiles=$(findTestFiles server/tests/api/moderation) redundancyFiles=$(findTestFiles server/tests/api/redundancy) activitypubFiles=$(findTestFiles server/tests/api/activitypub) - MOCHA_PARALLEL=true TS_NODE_FILES=true runTest "$1" 2 $activitypubFiles $redundancyFiles $activitypubFiles + MOCHA_PARALLEL=true TS_NODE_FILES=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles elif [ "$1" = "external-plugins" ]; then npm run build:server