diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-17 10:50:26 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-17 10:50:26 +0100 |
commit | db1ccd05d349c400c658dec68d11c8b01c9ccd01 (patch) | |
tree | 71a24e2c3a61d1f1f3f53937f21271710ca5212c /scripts/ci.sh | |
parent | 2769876fb26742f5cc8aa4b761be7bafca97d18d (diff) | |
download | PeerTube-db1ccd05d349c400c658dec68d11c8b01c9ccd01.tar.gz PeerTube-db1ccd05d349c400c658dec68d11c8b01c9ccd01.tar.zst PeerTube-db1ccd05d349c400c658dec68d11c8b01c9ccd01.zip |
Fix CI
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-x | scripts/ci.sh | 6 |
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 |
57 | elif [ "$1" = "cli-plugin" ]; then | 57 | elif [ "$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 |