Skip to content

Commit ad3b8a3

Browse files
committed
add alloy-zksync powered e2e tests
1 parent 0c2c385 commit ad3b8a3

File tree

9 files changed

+4108
-8
lines changed

9 files changed

+4108
-8
lines changed

.github/workflows/checks.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,13 @@ jobs:
6363
needs: build
6464
uses: ./.github/workflows/e2e.yml
6565
name: e2e-tests
66+
6667
spec:
6768
needs: build
6869
uses: ./.github/workflows/spec.yml
6970
name: spec-tests
71+
72+
e2e-rust:
73+
needs: build
74+
uses: ./.github/workflows/e2e-rust.yml
75+
name: e2e-tests-rust

.github/workflows/e2e-rust.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Testing era_test_node using e2e (Rust version)
2+
on:
3+
workflow_call:
4+
5+
jobs:
6+
spec:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ ubuntu-latest, macos-latest ]
12+
name: spec
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Download artifacts
19+
uses: actions/download-artifact@v3
20+
with:
21+
name: era_test_node-${{ matrix.os }}.tar.gz
22+
23+
- name: Extract era_test_node
24+
id: extract_node
25+
run: |
26+
echo "Extracting era_test_node binary"
27+
tar -xzf era_test_node-${{ matrix.os }}.tar.gz
28+
chmod +x era_test_node
29+
30+
- name: Launch tests
31+
id: launch
32+
working-directory: ./e2e-tests-rust
33+
run: cargo test
34+
env:
35+
ERA_TEST_NODE_BINARY_PATH: ../era_test_node

e2e-tests-rust/.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
target-dir = "../target"

0 commit comments

Comments
 (0)