]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix test after hooks
authorChocobozzz <me@florianbigard.com>
Wed, 13 Jul 2022 09:34:48 +0000 (11:34 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 13 Jul 2022 09:34:48 +0000 (11:34 +0200)
.github/workflows/test.yml
scripts/ci.sh

index 9e3ab9c5deede81f39c780785d49586a6d234f93..ae19615c5b33b1013503e5a73d03df1fa77a124e 100644 (file)
@@ -82,7 +82,6 @@ jobs:
         run: |
           ( \
             test -f dist/scripts/parse-log.js && \
-            cat *-ci.log | uniq -c && \
             NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log \
           ) || \
           echo "parse-log.js script does not exist, skipping."
index 2dd5e25cebad049b4ab172d902a5e82b491431c8..8fdbe8f26ad1c89cf31ffc11f599a74e6ed5977e 100755 (executable)
@@ -27,7 +27,7 @@ runTest () {
         "echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --bail {}" \
         ::: $files
 
-    cat "$joblog" | uniq -c
+    cat "$joblog" | sort | uniq -c
     rm "$joblog"
 }