diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-27 10:58:09 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-05-04 16:21:39 +0200 |
commit | 829b794a8542b55bdfff481fa7c3593bc88cb696 (patch) | |
tree | 0f493580cad5b915f76eef5de174b2ba5e7204c5 /scripts | |
parent | 2db9c70f670c2210d103062fa143dc4888caa190 (diff) | |
download | PeerTube-829b794a8542b55bdfff481fa7c3593bc88cb696.tar.gz PeerTube-829b794a8542b55bdfff481fa7c3593bc88cb696.tar.zst PeerTube-829b794a8542b55bdfff481fa7c3593bc88cb696.zip |
Add plugin ldap tests
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index aea009d9f..7854d88fc 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -34,6 +34,9 @@ elif [ "$1" = "api-3" ]; then | |||
34 | elif [ "$1" = "api-4" ]; then | 34 | elif [ "$1" = "api-4" ]; then |
35 | npm run build:server | 35 | npm run build:server |
36 | sh ./server/tests/api/ci-4.sh 2 | 36 | sh ./server/tests/api/ci-4.sh 2 |
37 | elif [ "$1" = "external-plugins" ]; then | ||
38 | npm run build:server | ||
39 | mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail server/tests/external-plugins/index.ts | ||
37 | elif [ "$1" = "lint" ]; then | 40 | elif [ "$1" = "lint" ]; then |
38 | npm run eslint -- --ext .ts "server/**/*.ts" "shared/**/*.ts" | 41 | npm run eslint -- --ext .ts "server/**/*.ts" "shared/**/*.ts" |
39 | npm run swagger-cli -- validate support/doc/api/openapi.yaml | 42 | npm run swagger-cli -- validate support/doc/api/openapi.yaml |