Skip to content

Commit ba81070

Browse files
Update the parachain template to stable2412 (#26)
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
1 parent ecaf71d commit ba81070

36 files changed

+7402
-3507
lines changed

.github/tests/zombienet-smoke-test.zndsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ alice: parachain 1000 is registered within 60 seconds
1313
alice: parachain 1000 block height is at least 10 within 200 seconds
1414

1515
alice: count of log lines matching "err=" is 0 within 10 seconds
16-
alice: count of log lines matching "Error" is 0 within 10 seconds
16+
alice: count of log lines matching "(?<!o)(?<!s)(?<! )error(?! )(?!1)(?!3)" is 0 within 10 seconds
1717

1818
bob: count of log lines matching "err=" is 0 within 10 seconds
19-
bob: count of log lines matching "Error" is 0 within 10 seconds
19+
bob: count of log lines matching "(?<!o)(?<!s)(?<! )error(?! )(?!1)(?!3)" is 0 within 10 seconds
2020

2121
charlie: count of log lines matching "err=" is 0 within 10 seconds
22-
charlie: count of log lines matching "Error" is 0 within 10 seconds
22+
charlie: count of log lines matching "(?<!o)(?<!s)(?<! )error(?! )(?!1)(?!3)" is 0 within 10 seconds

.github/workflows/ci.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,8 @@ jobs:
2727
- if: contains(matrix.os, 'macos')
2828
uses: ./.github/actions/macos-dependencies
2929

30-
- name: Build the template
31-
run: cargo build
32-
timeout-minutes: 90
33-
3430
- name: Run clippy
3531
run: |
36-
SKIP_WASM_BUILD=1 cargo clippy --all-targets --locked --workspace --quiet
3732
SKIP_WASM_BUILD=1 cargo clippy --all-targets --all-features --locked --workspace --quiet
3833
timeout-minutes: 30
3934

@@ -45,13 +40,6 @@ jobs:
4540
run: SKIP_WASM_BUILD=1 cargo doc --workspace --no-deps
4641
timeout-minutes: 15
4742

48-
# This test only makes sure the node got successfully built
49-
# and can be executed without issues on Ubuntu and macOS.
50-
# Check the `test-zombienet` workflow for a parachain smoke test.
51-
- name: Check that the node starts up
52-
run: |
53-
./target/debug/parachain-template-node --help
54-
5543
build-docker:
5644
runs-on: ubuntu-latest
5745
steps:

.github/workflows/test-zombienet.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ jobs:
3737
- name: Run zombienet tests
3838
run: |
3939
export PATH="./target/release:$PATH"
40-
npx --yes @zombienet/cli --provider native test .github/tests/zombienet-smoke-test.zndsl
40+
rm -fr /tmp/zn-test || echo "No test directory to remove"
41+
npx --yes @zombienet/cli --dir /tmp/zn-test --provider native test .github/tests/zombienet-smoke-test.zndsl # || echo "Tests failed - proceeding to logs uploading"
4142
shell: bash
42-
timeout-minutes: 10
43+
timeout-minutes: 60
44+
- name: Upload logs
45+
uses: actions/upload-artifact@v4.3.6
46+
with:
47+
name: zn-test-logs
48+
path: |
49+
/tmp/zn-test/logs/alice.log
50+
/tmp/zn-test/logs/bob.log
51+
/tmp/zn-test/logs/charlie.log

0 commit comments

Comments
 (0)