]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/test.sh
Purge entire video from redundancy
[github/Chocobozzz/PeerTube.git] / scripts / test.sh
index 6e8e38659ea67f6557212e8526547cff35747e14..32034531ddfae3257757f5c8ac2dddbebeaff21c 100755 (executable)
@@ -1,10 +1,16 @@
-#!/usr/bin/env sh
+#!/bin/sh
+
+set -eu
 
 npm run build:server
+npm run setup:cli
 
-cd client || exit -1
-npm test || exit -1
+npm run ci -- lint
 
-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 -- misc
+npm run ci -- cli
+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