X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Ftest.sh;h=2dc79c6ceba3a9ac64fda224ca554548aa74173f;hb=c7cdac440970525d78d257a055899c26f6899a82;hp=b193a10bca1d9013bc6bbc2e8e01fe558b1004e8;hpb=0e1dc3e7c69995c691e1dd82e3c2bc68748661ca;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/test.sh b/scripts/test.sh index b193a10bc..2dc79c6ce 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,10 +1,13 @@ -#!/bin/bash +#!/bin/sh -npm run build:server +set -eu -cd client || exit -1 -npm test || exit -1 +npm run ci -- client +npm run ci -- cli-plugin +npm run ci -- api-1 +npm run ci -- api-2 +npm run ci -- api-3 +npm run ci -- api-4 +npm run ci -- external-plugins -cd .. || exit -1 -npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1 -mocha --require ts-node/register --bail server/tests/index.ts +npm run ci -- lint