Skip to content

Commit

Permalink
chore(CI): upload bootstrap_node log
Browse files Browse the repository at this point in the history
  • Loading branch information
maqi authored and RolandSherwin committed May 7, 2024
1 parent 3c1d03e commit a75502f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/memcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ jobs:
SN_LOG: "all"
timeout-minutes: 10

# Disable this test temporarily as it takes too long time, which blocks the merge queue.
- name: Audit from genesis to collect entire spend DAG and dump to a dot file
run: |
cargo run --bin safe --release -- --log-output-dest=data-dir wallet audit --dot > spend_dag_and_statistics.txt
Expand Down Expand Up @@ -439,6 +438,14 @@ jobs:
if: always()
timeout-minutes: 1

- name: Move bootstrap_node log to the working directory
run: |
ls -l $BOOTSTRAP_NODE_DATA_PATH
mv $BOOTSTRAP_NODE_DATA_PATH/safenode.log ./bootstrap_node.log
continue-on-error: true
if: always()
timeout-minutes: 1

- name: Upload faucet log
uses: actions/upload-artifact@main
with:
Expand All @@ -447,7 +454,14 @@ jobs:
continue-on-error: true
if: always()

# Re-enable this block once the previous step of audit got enabled.
- name: Upload bootstrap_node log
uses: actions/upload-artifact@main
with:
name: memory_check_bootstrap_node_log
path: bootstrap_node.log
continue-on-error: true
if: always()

- name: Upload spend DAG and statistics
uses: actions/upload-artifact@main
with:
Expand Down

0 comments on commit a75502f

Please sign in to comment.