Skip to content

Commit c50859f

Browse files
committed
Merge remote-tracking branch 'origin/main' into ak-adjust-westend
2 parents 65a5578 + 53730d5 commit c50859f

File tree

19 files changed

+1086
-771
lines changed

19 files changed

+1086
-771
lines changed

.github/workflows/integration-test.yml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
timeout-minutes: 60
2727

2828
steps:
29+
- name: Free Disk Space (Ubuntu)
30+
if: ${{ runner.environment == 'github-hosted' }}
31+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
32+
with:
33+
tool-cache: false
34+
2935
- name: Checkout sources
3036
uses: actions/checkout@v4
3137

@@ -65,14 +71,32 @@ jobs:
6571
chmod +x zombienet-linux-x64
6672
echo "ZOMBIENET_BINARY=$GITHUB_WORKSPACE/zombienet-linux-x64" >> $GITHUB_ENV
6773
68-
- name: Run authorize and store (PAPI, smoldot)
74+
- name: Run authorize and store (PAPI, RPC node)
6975
working-directory: examples
70-
run: just run-authorize-and-store "smoldot"
76+
run: |
77+
export TEST_DIR="$(mktemp -d $GITHUB_WORKSPACE/bulletin-tests-run-XXXXX)/test"
78+
echo "TEST_DIR=$TEST_DIR" >> $GITHUB_ENV
79+
just run-authorize-and-store "ws"
7180
72-
- name: Run authorize and store (PAPI, RPC node)
81+
- name: Run authorize and store (PAPI, smoldot)
7382
working-directory: examples
74-
run: just run-authorize-and-store "ws"
83+
run: |
84+
export TEST_DIR="$(mktemp -d $GITHUB_WORKSPACE/bulletin-tests-run-XXXXX)/test"
85+
echo "TEST_DIR=$TEST_DIR" >> $GITHUB_ENV
86+
just run-authorize-and-store "smoldot"
7587
7688
- name: Run store chunked data + DAG-PB (PJS-API, RPC node)
7789
working-directory: examples
78-
run: just run-store-chunked-data
90+
run: |
91+
export TEST_DIR="$(mktemp -d $GITHUB_WORKSPACE/bulletin-tests-run-XXXXX)/test"
92+
echo "TEST_DIR=$TEST_DIR" >> $GITHUB_ENV
93+
just run-store-chunked-data
94+
95+
# Collects logs from the last failed zombienet run.
96+
- name: Upload Zombienet logs (on failure)
97+
if: failure()
98+
uses: actions/upload-artifact@v4
99+
with:
100+
name: failed-zombienet-logs
101+
path: |
102+
${{ env.TEST_DIR }}/*.log

0 commit comments

Comments
 (0)