Skip to content

Commit

Permalink
chore: more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jul 8, 2024
1 parent 7d1f676 commit 3d2d786
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/test-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,25 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Build
run: npm run build:core
- name: Output evm-node-1 logs
run: |
CONTAINER_ID=$(docker ps -q --filter "ancestor=ghcr.io/foundry-rs/foundry" --filter "publish=8545")
if [ -n "$CONTAINER_ID" ]; then
docker logs $CONTAINER_ID
else
echo "evm-node-1 container is not running"
exit 1
fi
- name: Output evm-node-2 logs
run: |
CONTAINER_ID=$(docker ps -q --filter "ancestor=ghcr.io/foundry-rs/foundry" --filter "publish=8546")
if [ -n "$CONTAINER_ID" ]; then
docker logs $CONTAINER_ID
else
echo "evm-node-2 container is not running"
exit 1
fi
- name: Check if evm-node-1 is running
run: |
Expand All @@ -46,6 +63,9 @@ jobs:
run: |
curl -sSf http://localhost:8546 || { echo "evm-node-2 is not running"; exit 1; }
- name: Build
run: npm run build:core

- name: Test
timeout-minutes: 15
run: |
Expand Down

0 comments on commit 3d2d786

Please sign in to comment.