Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jul 8, 2024
1 parent 5dca911 commit b87de6d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,16 @@ jobs:
- name: Test
timeout-minutes: 15
run: |
curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' http://127.0.0.1:8545
echo "Checking EVM node 1 (8545)"
curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' http://localhost:8545 || true
echo "\n\nChecking EVM node 2 (8546)"
curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' http://localhost:8546 || true
echo "\n\nChecking network connections"
netstat -tuln | grep LISTEN
echo "\n\nChecking Docker containers"
docker ps
echo "\n\nDocker logs for Anvil containers"
docker logs $(docker ps -q --filter "ancestor=ghcr.io/foundry-rs/foundry") || true
echo "\n\nRunning tests"
# curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' http://127.0.0.1:8545
npm run test:core

0 comments on commit b87de6d

Please sign in to comment.