diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-09 15:45:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-09 15:45:37 +0100 |
commit | c221d62a8b5b8775fd7d737d1f79a0b764261f18 (patch) | |
tree | c41e259e2658cc58a2d4991c1968445ca6135600 /scripts | |
parent | 30a94566c95f54d8821ddd5750f2b52d4135f47e (diff) | |
download | PeerTube-c221d62a8b5b8775fd7d737d1f79a0b764261f18.tar.gz PeerTube-c221d62a8b5b8775fd7d737d1f79a0b764261f18.tar.zst PeerTube-c221d62a8b5b8775fd7d737d1f79a0b764261f18.zip |
Fix CI moderation tests
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 4 |
1 files 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 | |||
77 | elif [ "$1" = "api-4" ]; then | 77 | elif [ "$1" = "api-4" ]; then |
78 | npm run build:server | 78 | npm run build:server |
79 | 79 | ||
80 | activitypubFiles=$(findTestFiles server/tests/api/moderation) | 80 | moderationFiles=$(findTestFiles server/tests/api/moderation) |
81 | redundancyFiles=$(findTestFiles server/tests/api/redundancy) | 81 | redundancyFiles=$(findTestFiles server/tests/api/redundancy) |
82 | activitypubFiles=$(findTestFiles server/tests/api/activitypub) | 82 | activitypubFiles=$(findTestFiles server/tests/api/activitypub) |
83 | 83 | ||
84 | MOCHA_PARALLEL=true TS_NODE_FILES=true runTest "$1" 2 $activitypubFiles $redundancyFiles $activitypubFiles | 84 | MOCHA_PARALLEL=true TS_NODE_FILES=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles |
85 | elif [ "$1" = "external-plugins" ]; then | 85 | elif [ "$1" = "external-plugins" ]; then |
86 | npm run build:server | 86 | npm run build:server |
87 | 87 | ||