]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Try to display job log in specific stage
authorChocobozzz <me@florianbigard.com>
Thu, 14 Jan 2021 08:20:38 +0000 (09:20 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 14 Jan 2021 08:20:38 +0000 (09:20 +0100)
.github/workflows/test.yml

index 01b442ed335af7e3d5343cca9c1b255336c3cf32..fe9851dc7327650586312fa5a58532dde5b01d21 100644 (file)
@@ -98,7 +98,11 @@ jobs:
       - name: Display errors
         if: ${{ always() }}
         run: |
-          (test -f dist/scripts/parse-log.js && NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log) || \
+          ( \
+            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."
 
       - name: Upload logs