Skip to content

Commit

Permalink
Dump Docker logs on failure #213
Browse files Browse the repository at this point in the history
For troubleshooting this issue:

- #213
  • Loading branch information
pdurbin authored Nov 1, 2023
1 parent 54ed937 commit 9bd516c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,23 @@ jobs:
- name: Run e2e tests
run: npm run test:e2e

- name: Dump docker logs on failure
if: failure()
uses: jwalton/gh-docker-logs@v2
with:
dest: './logs'

- name: Tar logs
if: failure()
run: tar cvzf ./logs.tgz ./logs

- name: Upload logs to GitHub
if: failure()
uses: actions/upload-artifact@master
with:
name: logs.tgz
path: ./logs.tgz

component:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 9bd516c

Please sign in to comment.