aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-xscripts/ci.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 5f1230d33..3d23f0297 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -50,8 +50,8 @@ elif [ "$1" = "client" ]; then
50 helperFiles=$(findTestFiles ./dist/server/tests/helpers) 50 helperFiles=$(findTestFiles ./dist/server/tests/helpers)
51 libFiles=$(findTestFiles ./dist/server/tests/lib) 51 libFiles=$(findTestFiles ./dist/server/tests/lib)
52 miscFiles="./dist/server/tests/client.js ./dist/server/tests/misc-endpoints.js" 52 miscFiles="./dist/server/tests/client.js ./dist/server/tests/misc-endpoints.js"
53 # Not in plugin task, it needs an index.html 53 # Not in their own task, they need an index.html
54 pluginFiles="./dist/server/tests/plugins/html-injection.js" 54 pluginFiles="./dist/server/tests/plugins/html-injection.js ./dist/server/tests/api/server/plugins.js"
55 55
56 MOCHA_PARALLEL=true runTest "$1" 2 $feedsFiles $helperFiles $miscFiles $pluginFiles $libFiles 56 MOCHA_PARALLEL=true runTest "$1" 2 $feedsFiles $helperFiles $miscFiles $pluginFiles $libFiles
57elif [ "$1" = "cli-plugin" ]; then 57elif [ "$1" = "cli-plugin" ]; then
@@ -75,7 +75,7 @@ elif [ "$1" = "api-2" ]; then
75 npm run build:server 75 npm run build:server
76 76
77 liveFiles=$(findTestFiles ./dist/server/tests/api/live) 77 liveFiles=$(findTestFiles ./dist/server/tests/api/live)
78 serverFiles=$(findTestFiles ./dist/server/tests/api/server) 78 serverFiles=$(findTestFiles ./dist/server/tests/api/server plugins.js)
79 usersFiles=$(findTestFiles ./dist/server/tests/api/users) 79 usersFiles=$(findTestFiles ./dist/server/tests/api/users)
80 80
81 MOCHA_PARALLEL=true runTest "$1" 3 $liveFiles $serverFiles $usersFiles 81 MOCHA_PARALLEL=true runTest "$1" 3 $liveFiles $serverFiles $usersFiles