Skip to content

Commit

Permalink
Merge pull request #1312 from get10101/chore/print-logs-when-e2e-test…
Browse files Browse the repository at this point in the history
…s-fail

chore(ci): Print services logs upon e2e test suite error
  • Loading branch information
holzeis authored Sep 19, 2023
2 parents 2dfbf80 + 5a216b8 commit cdde6fc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,28 @@ jobs:
curl -d '{"address":"bcrt1qylgu6ffkp3p0m8tw8kp4tt2dmdh755f4r5dq7s", "amount":"0.1"}' -H "Content-Type: application/json" -X POST http://localhost:3000/faucet
- name: Run e2e tests
run: just e2e --nocapture
continue-on-error: true # Continue running other steps even if this one fails
- name: Print maker logs on e2e tests error
if: failure()
run: cat data/maker/regtest.log
- name: Print coordinator logs on e2e tests error
if: failure()
run: cat data/coordinator/regtest.log
- name: LND logs on e2e tests error
if: failure()
run: docker logs lnd
- name: bitcoin logs on e2e tests error
if: failure()
run: docker logs bitcoin
- name: faucet logs on e2e tests error
if: failure()
run: docker logs faucet
- name: electrs logs on e2e tests error
if: failure()
run: docker logs electrs
- name: esplora logs on e2e tests error
if: failure()
run: docker logs esplora
- name: show disk space after tests
if: always()
run: df -h

0 comments on commit cdde6fc

Please sign in to comment.