diff options
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-x | scripts/ci.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index 8b984093c..7b2e5d347 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -104,14 +104,17 @@ elif [ "$1" = "api-5" ]; then | |||
104 | npm run build:server | 104 | npm run build:server |
105 | 105 | ||
106 | transcodingFiles=$(findTestFiles ./dist/server/tests/api/transcoding) | 106 | transcodingFiles=$(findTestFiles ./dist/server/tests/api/transcoding) |
107 | runnersFiles=$(findTestFiles ./dist/server/tests/api/runners) | ||
107 | 108 | ||
108 | MOCHA_PARALLEL=true runTest "$1" $((2*$speedFactor)) $transcodingFiles | 109 | MOCHA_PARALLEL=true runTest "$1" $((2*$speedFactor)) $transcodingFiles $runnersFiles |
109 | elif [ "$1" = "external-plugins" ]; then | 110 | elif [ "$1" = "external-plugins" ]; then |
110 | npm run build:server | 111 | npm run build:server |
112 | npm run build:peertube-runner | ||
111 | 113 | ||
112 | externalPluginsFiles=$(findTestFiles ./dist/server/tests/external-plugins) | 114 | externalPluginsFiles=$(findTestFiles ./dist/server/tests/external-plugins) |
115 | peertubeRunnerFiles=$(findTestFiles ./dist/server/tests/peertube-runner) | ||
113 | 116 | ||
114 | runTest "$1" 1 $externalPluginsFiles | 117 | runTest "$1" 1 $externalPluginsFiles $peertubeRunnerFiles |
115 | elif [ "$1" = "lint" ]; then | 118 | elif [ "$1" = "lint" ]; then |
116 | npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" | 119 | npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" |
117 | npm run swagger-cli -- validate support/doc/api/openapi.yaml | 120 | npm run swagger-cli -- validate support/doc/api/openapi.yaml |