From 1382f817b1288c25ff54cb1008c10cda4a407ffa Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Thu, 24 Aug 2023 10:27:21 +0100 Subject: [PATCH] Output logs for failed E2E test runs --- .github/workflows/continuous-integration.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index eae33797..7e66b2ac 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -526,6 +526,9 @@ jobs: wget --content-on-error -O error.html http://localhost:8000/e || true cat error.html ps -ax + - name: "Output logs on failure" + if: failure() + run: cat test-app/storage/logs/laravel.log - name: "Check logs for successful payload send" run: | cd test-app @@ -791,6 +794,9 @@ jobs: wget http://localhost:8000 cat index.html ps -ax + - name: "Output logs on failure" + if: failure() + run: cat test-app/storage/logs/lumen.log - name: "Check logs for successful payload send" run: | cd test-app