Skip to content

Commit

Permalink
save rpc-test results
Browse files Browse the repository at this point in the history
  • Loading branch information
mriccobene committed Feb 5, 2024
1 parent 5b6dbc4 commit 13b10fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rpc-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
env:
ERIGON_DATA_DIR: /opt/erigon/datadir
RPC_TEST_DIR: /opt/rpc-tests
RPC_PAST_TEST_RES_DIR: /opt/rpc-past-tests

steps:
- name: Check out repository
Expand Down Expand Up @@ -68,6 +69,9 @@ jobs:
# Capture monitoring script exit status
monitoring_exit_status=$?
# Save test result to a directory with timestamp and commit hash
mv $RPC_TEST_DIR/integration/mainnet/results $RPC_PAST_TEST_RES_DIR/mainnet_$(date +%Y%m%d_%H%M%S)_integration_$(git rev-parse --short HEAD)
# Clean up Erigon process if it's still running
if kill -0 $RPC_DAEMON_PID 2> /dev/null; then
echo "Terminating rpc-daemon"
Expand Down

0 comments on commit 13b10fa

Please sign in to comment.