diff options
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-x | scripts/ci.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index 07e37e0ee..71b1be53b 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 |
55 | elif [ "$1" = "cli-plugin" ]; then | 56 | elif [ "$1" = "cli-plugin" ]; then |
56 | npm run build:server | 57 | npm run build:server |
57 | npm run setup:cli | 58 | npm run setup:cli |
@@ -76,7 +77,7 @@ elif [ "$1" = "api-2" ]; then | |||
76 | serverFiles=$(findTestFiles ./dist/server/tests/api/server) | 77 | serverFiles=$(findTestFiles ./dist/server/tests/api/server) |
77 | usersFiles=$(findTestFiles ./dist/server/tests/api/users) | 78 | usersFiles=$(findTestFiles ./dist/server/tests/api/users) |
78 | 79 | ||
79 | MOCHA_PARALLEL=true runTest "$1" 3 $serverFiles $usersFiles $liveFiles | 80 | MOCHA_PARALLEL=true runTest "$1" 3 $liveFiles $serverFiles $usersFiles |
80 | elif [ "$1" = "api-3" ]; then | 81 | elif [ "$1" = "api-3" ]; then |
81 | npm run build:server | 82 | npm run build:server |
82 | 83 | ||