aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh2
-rwxr-xr-xscripts/parse-log.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 7360a03ce..b068deeb4 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -63,9 +63,9 @@ elif [ "$1" = "api-1" ]; then
63elif [ "$1" = "api-2" ]; then 63elif [ "$1" = "api-2" ]; then
64 npm run build:server 64 npm run build:server
65 65
66 liveFiles=$(findTestFiles ./dist/server/tests/api/live)
66 serverFiles=$(findTestFiles ./dist/server/tests/api/server) 67 serverFiles=$(findTestFiles ./dist/server/tests/api/server)
67 usersFiles=$(findTestFiles ./dist/server/tests/api/users) 68 usersFiles=$(findTestFiles ./dist/server/tests/api/users)
68 liveFiles=$(findTestFiles ./dist/server/tests/api/live)
69 69
70 MOCHA_PARALLEL=true runTest "$1" 3 $serverFiles $usersFiles $liveFiles 70 MOCHA_PARALLEL=true runTest "$1" 3 $serverFiles $usersFiles $liveFiles
71elif [ "$1" = "api-3" ]; then 71elif [ "$1" = "api-3" ]; then
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts
index eb3851085..1617e4446 100755
--- a/scripts/parse-log.ts
+++ b/scripts/parse-log.ts
@@ -85,6 +85,8 @@ function run () {
85 const files = await getFiles() 85 const files = await getFiles()
86 86
87 for (const file of files) { 87 for (const file of files) {
88 if (file === 'peertube-audit.log') continue
89
88 console.log('Opening %s.', file) 90 console.log('Opening %s.', file)
89 91
90 const stream = createReadStream(file) 92 const stream = createReadStream(file)