From c2db0034311286035ce8ad6ee5f32101a02dae5a Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 15 Oct 2021 14:49:30 +0200 Subject: [PATCH] When tests fail, show also error.log as it may have meaningful content --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cafdfe67..634bd2a10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,6 +160,10 @@ jobs: if: failure() run: find logs/ -name ejabberd.log -exec cat '{}' ';' + - name: View error.log + if: failure() + run: find logs/ -name error.log -exec cat '{}' ';' + - name: View exunit.log if: failure() run: find logs/ -name exunit.log -exec cat '{}' ';'