Skip to content

Commit

Permalink
Output logs for failed E2E test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Aug 24, 2023
1 parent 42e7df8 commit 1382f81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1382f81

Please sign in to comment.