Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: asynchronous and configurable block sealing #392

Merged
merged 13 commits into from
Nov 27, 2024
Merged
6 changes: 6 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,13 @@ jobs:
needs: build
uses: ./.github/workflows/e2e.yml
name: e2e-tests

spec:
needs: build
uses: ./.github/workflows/spec.yml
name: spec-tests

e2e-rust:
needs: build
uses: ./.github/workflows/e2e-rust.yml
name: e2e-tests-rust
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
34 changes: 34 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ openrpc-types = "0.4.0"
alloy = { version = "0.5", features = ["full"] }
test-log = "0.2.16"
fs2 = "0.4.3"
test-case = "3.3.1"

[profile.dev]
debug = 0
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