aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-21 15:44:28 +0200
committerChocobozzz <me@florianbigard.com>2021-07-21 15:44:28 +0200
commit2b9f672b58bc2c13c96ee79f522003979e4bfc02 (patch)
tree898e170d1b8f5b9624ec7bb21c5212c4ea1bbc2c /scripts
parentdc3d902234bb73fbc8cf9787e3036f2012526e6c (diff)
downloadPeerTube-2b9f672b58bc2c13c96ee79f522003979e4bfc02.tar.gz
PeerTube-2b9f672b58bc2c13c96ee79f522003979e4bfc02.tar.zst
PeerTube-2b9f672b58bc2c13c96ee79f522003979e4bfc02.zip
Improve plugin constant tests
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 07e37e0ee..7862888b8 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -47,11 +47,12 @@ if [ "$1" = "client" ]; then
47 47
48 feedsFiles=$(findTestFiles ./dist/server/tests/feeds) 48 feedsFiles=$(findTestFiles ./dist/server/tests/feeds)
49 helperFiles=$(findTestFiles ./dist/server/tests/helpers) 49 helperFiles=$(findTestFiles ./dist/server/tests/helpers)
50 libFiles=$(findTestFiles ./dist/server/tests/lib)
50 miscFiles="./dist/server/tests/client.js ./dist/server/tests/misc-endpoints.js" 51 miscFiles="./dist/server/tests/client.js ./dist/server/tests/misc-endpoints.js"
51 # Not in plugin task, it needs an index.html 52 # Not in plugin task, it needs an index.html
52 pluginFiles="./dist/server/tests/plugins/html-injection.js" 53 pluginFiles="./dist/server/tests/plugins/html-injection.js"
53 54
54 MOCHA_PARALLEL=true runTest "$1" 2 $feedsFiles $helperFiles $miscFiles $pluginFiles 55 MOCHA_PARALLEL=true runTest "$1" 2 $feedsFiles $helperFiles $miscFiles $pluginFiles $libFiles
55elif [ "$1" = "cli-plugin" ]; then 56elif [ "$1" = "cli-plugin" ]; then
56 npm run build:server 57 npm run build:server
57 npm run setup:cli 58 npm run setup:cli