diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 6 | ||||
-rwxr-xr-x | scripts/test.sh | 1 |
2 files changed, 7 insertions, 0 deletions
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 | |||
94 | activitypubFiles=$(findTestFiles ./dist/server/tests/api/activitypub) | 94 | activitypubFiles=$(findTestFiles ./dist/server/tests/api/activitypub) |
95 | 95 | ||
96 | MOCHA_PARALLEL=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles $objectStorageFiles | 96 | MOCHA_PARALLEL=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles $objectStorageFiles |
97 | elif [ "$1" = "api-5" ]; then | ||
98 | npm run build:server | ||
99 | |||
100 | transcodingFiles=$(findTestFiles ./dist/server/tests/api/transcoding) | ||
101 | |||
102 | MOCHA_PARALLEL=true runTest "$1" 2 $transcodingFiles | ||
97 | elif [ "$1" = "external-plugins" ]; then | 103 | elif [ "$1" = "external-plugins" ]; then |
98 | npm run build:server | 104 | npm run build:server |
99 | 105 | ||
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 | |||
9 | npm run ci -- api-2 | 9 | npm run ci -- api-2 |
10 | npm run ci -- api-3 | 10 | npm run ci -- api-3 |
11 | npm run ci -- api-4 | 11 | npm run ci -- api-4 |
12 | npm run ci -- api-5 | ||
12 | npm run ci -- external-plugins | 13 | npm run ci -- external-plugins |
13 | 14 | ||
14 | npm run ci -- lint | 15 | npm run ci -- lint |