Skip to content

Commit

Permalink
Print test node output
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Krause Arnim authored and Francisco Krause Arnim committed Apr 15, 2024
1 parent 72e6ddc commit 0b1ad97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,9 @@ jobs:
- name: "Run tests"
run: |
make test-ci
- name: Print era test node logs
id: stop_node
if: always()
run: |
cat era_test_node_output.log
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ test: start-reth
cargo test ${PRECOMPILE}

reth-and-node-ci: start-reth
$(era_test_node) --show-calls=all --resolve-hashes --show-gas-details=all run >/dev/null 2>&1 &
sleep 10
$(era_test_node) --show-calls=all --resolve-hashes --show-gas-details=all run 2>&1 | tee era_test_node_output.log &
sleep 3

test-ci: reth-and-node-ci
cd tests && cargo test
Expand Down

0 comments on commit 0b1ad97

Please sign in to comment.