]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Display error logs in CI
authorChocobozzz <me@florianbigard.com>
Thu, 10 Dec 2020 15:08:26 +0000 (16:08 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 14 Dec 2020 08:11:27 +0000 (09:11 +0100)
.github/workflows/test.yml

index 0231b1a1ec1db2d60eed9dcd7b5e955bd70d1e02..76fe5d6e39640a1163fd84a15755b694c901501a 100644 (file)
@@ -95,10 +95,9 @@ jobs:
         if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
         run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
 
-      - name: Display directories state
-        if: failure()
+      - name: Display errors
         run: |
-          ls -l test*
+          NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log
 
       - name: Upload logs
         uses: actions/upload-artifact@v2