Skip to content

Commit

Permalink
print logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 23, 2024
1 parent e35bfe8 commit 8d8e8d7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,17 @@ jobs:
working-directory: ~
run: |
mkdir -p "${LOG_DIR}"
entrypoint.sh make test -j4
if ! entrypoint.sh make test -j4; then
echo ""
echo "Tests failed. Printing logs..."
echo ""
echo "Gaia logs:"
tail -100 "${HOME}/data/ibc-0.log"
echo ""
echo "Basecoin logs:"
tail -100 "${LOG_DIR}/basecoin.log"
echo ""
echo "CometBFT logs:"
tail -100 "${LOG_DIR}/cometbft.log"
exit 1
fi

0 comments on commit 8d8e8d7

Please sign in to comment.