Skip to content

Commit

Permalink
chore: debug docker logs in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
viraj124 committed Dec 3, 2024
1 parent 44c7ffa commit 6921417
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ jobs:

- name: Test projects
run: pnpm test

- name: Integration tests
run: pnpm --filter @fuel-bridge/integration-tests test

# TODO issue 115: https://github.com/FuelLabs/fuel-bridge/issues/115
# Run test again to ensure it works with node that already has transactions/messages
Expand Down
4 changes: 4 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ pnpm forc test
echo "\n\nStarting docker..."
pnpm run node:up

echo "\n\ndocker logs..."
pnpm run node:logs

# Wait for the nodes to be ready and run the tests
HEALTH_CHECK_COUNTER=0
HELTH_CHECK_OUTPUT=""
Expand All @@ -49,6 +52,7 @@ waitForNodesToBeReady() {
# If the node responds with 200, it is ready
# to run the tests.
echo "\nRun tests..."
pnpm run node:logs
pnpm turbo run test
else
# If the request not returns 200 the node is not ready yet
Expand Down

0 comments on commit 6921417

Please sign in to comment.