]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/test.sh
It's not the week-end yet
[github/Chocobozzz/PeerTube.git] / scripts / test.sh
index fc607133b61c2b5184ae1c25cd6cd9dc0a15d84d..01b259fe248ef92985c97e329bff09c86521c24e 100755 (executable)
@@ -1,8 +1,16 @@
-#!/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 build:server
+npm run setup:cli
+
+npm run ci -- lint
+
+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