Fix CI moderation tests

pull/3877/head
Chocobozzz 2021-03-09 15:45:37 +01:00
parent 30a94566c9
commit c221d62a8b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -77,11 +77,11 @@ elif [ "$1" = "api-3" ]; then
elif [ "$1" = "api-4" ]; then elif [ "$1" = "api-4" ]; then
npm run build:server npm run build:server
activitypubFiles=$(findTestFiles server/tests/api/moderation) moderationFiles=$(findTestFiles server/tests/api/moderation)
redundancyFiles=$(findTestFiles server/tests/api/redundancy) redundancyFiles=$(findTestFiles server/tests/api/redundancy)
activitypubFiles=$(findTestFiles server/tests/api/activitypub) 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 elif [ "$1" = "external-plugins" ]; then
npm run build:server npm run build:server