Skip to content

Commit

Permalink
chore: remove curl
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jul 8, 2024
1 parent 79a798b commit 7f0fbbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/test-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,5 @@ jobs:
- name: Test
timeout-minutes: 15
run: |
echo "Checking EVM node 1 (8545)"
curl -v -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' http://localhost:8545
echo "\n\nChecking EVM node 2 (8546)"
curl -v -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' http://localhost:8546
echo "\n\nTrying with 127.0.0.1 instead of localhost"
curl -v -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' http://127.0.0.1:8545
echo "\n\nChecking if curl can reach other services"
curl -v http://example.com
echo "\n\nDocker logs for Anvil containers"
docker logs $(docker ps -q --filter "ancestor=ghcr.io/foundry-rs/foundry:latest")
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
2 changes: 1 addition & 1 deletion .github/workflows/test-sui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run Tests for Sui
on: pull_request

jobs:
test-sui:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down

0 comments on commit 7f0fbbe

Please sign in to comment.