Display error logs in CI

This commit is contained in:
Chocobozzz 2020-12-10 16:08:26 +01:00 committed by Chocobozzz
parent 17ae86e912
commit 12554857b4
1 changed files with 2 additions and 3 deletions

View 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