Skip to content

Commit d424aac

Browse files
authored
qa-tests: upload preparing step logs to rpc integration latest (#19488)
1 parent fcb6bcf commit d424aac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/qa-rpc-integration-tests-latest.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
working-directory: ${{ github.workspace }}
5757

5858
- name: Wait for current Erigon instance to reach the tip
59+
id: preparing_step
5960
run: |
6061
ERIGON_PID=$(pgrep -x erigon | head -1)
6162
if [ -z "$ERIGON_PID" ]; then
@@ -68,6 +69,13 @@ jobs:
6869
--erigon-pid=$ERIGON_PID
6970
fi
7071
72+
- name: Upload preparing-step logs on failure
73+
if: failure() && steps.preparing_step.outcome == 'failure'
74+
uses: actions/upload-artifact@v6
75+
with:
76+
name: preparing-step-logs
77+
path: ${{ env.ERIGON_REFERENCE_DATA_DIR }}/logs/
78+
7179
- name: Pause the Erigon instance dedicated to db maintenance
7280
run: |
7381
python3 $ERIGON_QA_PATH/test_system/db-producer/pause_production.py || true

0 commit comments

Comments
 (0)