X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Ftest.sh;h=2dc79c6ceba3a9ac64fda224ca554548aa74173f;hb=c6fb386adc5104db689d1e7b2087c03a71e9974a;hp=701dea8d04baee8bd8cc84d3f82cf486c4311b77;hpb=df98563e2104b82b119c00a3cd83cd0dc1242d25;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/test.sh b/scripts/test.sh index 701dea8d0..2dc79c6ce 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,8 +1,13 @@ -#!/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 server/tests +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