mirror of https://github.com/Chocobozzz/PeerTube
Fix CI moderation tests
parent
30a94566c9
commit
c221d62a8b
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue