aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-13 11:34:48 +0200
committerChocobozzz <me@florianbigard.com>2022-07-13 11:34:48 +0200
commit14b3e8f4457b2e2aad52044b4c373f5b8fb06568 (patch)
tree4b2859d589a6390b103b595b972a115397b13c47
parentda5f46487f85de89d9a20031e2bdbae1dbee2e26 (diff)
downloadPeerTube-14b3e8f4457b2e2aad52044b4c373f5b8fb06568.tar.gz
PeerTube-14b3e8f4457b2e2aad52044b4c373f5b8fb06568.tar.zst
PeerTube-14b3e8f4457b2e2aad52044b4c373f5b8fb06568.zip
Fix test after hooks
-rw-r--r--.github/workflows/test.yml1
-rwxr-xr-xscripts/ci.sh2
2 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9e3ab9c5d..ae19615c5 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -82,7 +82,6 @@ jobs:
82 run: | 82 run: |
83 ( \ 83 ( \
84 test -f dist/scripts/parse-log.js && \ 84 test -f dist/scripts/parse-log.js && \
85 cat *-ci.log | uniq -c && \
86 NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log \ 85 NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log \
87 ) || \ 86 ) || \
88 echo "parse-log.js script does not exist, skipping." 87 echo "parse-log.js script does not exist, skipping."
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 2dd5e25ce..8fdbe8f26 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -27,7 +27,7 @@ runTest () {
27 "echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --bail {}" \ 27 "echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --bail {}" \
28 ::: $files 28 ::: $files
29 29
30 cat "$joblog" | uniq -c 30 cat "$joblog" | sort | uniq -c
31 rm "$joblog" 31 rm "$joblog"
32} 32}
33 33