diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-19 13:33:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-19 13:33:27 +0200 |
commit | 6403a6bd019a30848f0e9b5f6e7b9734229ab0f1 (patch) | |
tree | 8fb162cdb5e42ee6bb5a11acedb88218b12aa200 /scripts | |
parent | 30453cb5ba523020c488dfb7986a9848870393a5 (diff) | |
download | PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.tar.gz PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.tar.zst PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.zip |
peertube runner tests in parallel
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index 7b2e5d347..9fb67f634 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -114,7 +114,8 @@ elif [ "$1" = "external-plugins" ]; then | |||
114 | externalPluginsFiles=$(findTestFiles ./dist/server/tests/external-plugins) | 114 | externalPluginsFiles=$(findTestFiles ./dist/server/tests/external-plugins) |
115 | peertubeRunnerFiles=$(findTestFiles ./dist/server/tests/peertube-runner) | 115 | peertubeRunnerFiles=$(findTestFiles ./dist/server/tests/peertube-runner) |
116 | 116 | ||
117 | runTest "$1" 1 $externalPluginsFiles $peertubeRunnerFiles | 117 | runTest "$1" 1 $externalPluginsFiles |
118 | MOCHA_PARALLEL=true runTest "$1" $((2*$speedFactor)) $peertubeRunnerFiles | ||
118 | elif [ "$1" = "lint" ]; then | 119 | elif [ "$1" = "lint" ]; then |
119 | npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" | 120 | npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" |
120 | npm run swagger-cli -- validate support/doc/api/openapi.yaml | 121 | npm run swagger-cli -- validate support/doc/api/openapi.yaml |