Skip to content

Commit

Permalink
add alloy-zksync powered e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
itegulov committed Nov 27, 2024
1 parent 0c2c385 commit badc548
Show file tree
Hide file tree
Showing 7 changed files with 4,101 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/e2e-rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Testing era_test_node using e2e (Rust version)
on:
workflow_call:

jobs:
spec:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
name: spec
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: era_test_node-${{ matrix.os }}.tar.gz

- name: Extract era_test_node
id: extract_node
run: |
echo "Extracting era_test_node binary"
tar -xzf era_test_node-${{ matrix.os }}.tar.gz
chmod +x era_test_node
- name: Launch tests
id: launch
working-directory: ./e2e-tests-rust
run: cargo test
env:
ERA_TEST_NODE_BINARY_PATH: ../era_test_node
2 changes: 2 additions & 0 deletions e2e-tests-rust/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target-dir = "../target"
Loading

0 comments on commit badc548

Please sign in to comment.