Skip to content

Commit

Permalink
run e2 or e3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lupin012 committed Sep 29, 2024
1 parent 3cd8afb commit 07c7008
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/rpc-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ jobs:
working-directory: ${{runner.workspace}}/silkworm/build/cmd
run: |
echo "Silkworm RpcDaemon starting..."
${{runner.workspace}}/silkworm/.github/workflows/e2_run_daemon.sh $ERIGON_DATA_DIR ./jwt.hex &
if [ $backend -eq Erigon2 ]; then
${{runner.workspace}}/silkworm/.github/workflows/e2_run_daemon.sh $ERIGON_DATA_DIR ./jwt.hex &
else
${{runner.workspace}}/silkworm/.github/workflows/e3_run_daemon.sh $ERIGON_DATA_DIR ./jwt.hex &
fi
RPC_DAEMON_PID=$!
echo "RPC_DAEMON_PID=$RPC_DAEMON_PID" >> $GITHUB_ENV
echo "Silkworm RpcDaemon started"
Expand All @@ -71,7 +75,11 @@ jobs:
rm -rf ./mainnet/results/
# Run RPC integration test runner via http
${{runner.workspace}}/silkworm/.github/workflows/e2_run_tests.sh ${{runner.workspace}}/silkworm/build/cmd/jwt.hex
if [ $backend -eq Erigon2 ]; then
${{runner.workspace}}/silkworm/.github/workflows/e2_run_tests.sh ${{runner.workspace}}/silkworm/build/cmd/jwt.hex
else
${{runner.workspace}}/silkworm/.github/workflows/e3_run_tests.sh ${{runner.workspace}}/silkworm/build/cmd/jwt.hex
fi
# Capture test runner script exit status
test_exit_status=$?
Expand Down

0 comments on commit 07c7008

Please sign in to comment.