Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
change the kill node cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro committed Oct 12, 2023
1 parent 6470122 commit 029bef1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/starknet-rpc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ jobs:
- name: Run rpc native test
run: |-
./target/release/madara --dev --sealing=manual --execution=Native &
NATIVE_RUN_PID=$!
while ! echo exit | nc localhost 9944; do sleep 1; done
cd starknet-rpc-test
cargo test
ps aux | grep -i ./target/release/madara | awk '{print $2}' | xargs sudo kill -9
kill $NATIVE_RUN_PID
- name: Run rpc wasm test
run: |-
./target/release/madara --dev --sealing=manual --execution=Wasm &
WASM_RUN_PID=$!
while ! echo exit | nc localhost 9944; do sleep 1; done
cd starknet-rpc-test
cargo test
ps aux | grep -i ./target/release/madara | awk '{print $2}' | xargs sudo kill -9
kill $WASM_RUN_PID

0 comments on commit 029bef1

Please sign in to comment.