From 12554857b410506b9e748bb0deac09d3e7393963 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 10 Dec 2020 16:08:26 +0100 Subject: [PATCH] Display error logs in CI --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0231b1a1e..76fe5d6e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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