X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Ftest.sh;h=4d1d8720a68f5866ba9896ee9f973381dba2e57b;hb=94be5ecc4d7ca1acfae844cbe794fc6f7e690917;hp=fc607133b61c2b5184ae1c25cd6cd9dc0a15d84d;hpb=743cb5e5c44c4ba97a877e9a172adabd666c9852;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/test.sh b/scripts/test.sh index fc607133b..4d1d8720a 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,8 +1,14 @@ -#!/usr/bin/env sh +#!/bin/sh -cd client || exit -1 -npm test || exit -1 +set -eu -cd .. || exit -1 -npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts server/**/*.ts || exit -1 -mocha --bail server/tests +npm run ci -- types +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 + +npm run ci -- lint