From 5ec8a71f8471bbbd6b8e77bae2550cc28930f9ab Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Jan 2021 09:20:38 +0100 Subject: [PATCH] Try to display job log in specific stage --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 01b442ed3..fe9851dc7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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