Convert ECDSA Public Keys to EVM Addresses when building voters' merk… #357
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Stress Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
workflow_dispatch: | |
env: | |
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git | |
RUST_LOG: "dkg=trace" | |
jobs: | |
harness: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Restore Cache | |
if: always() | |
uses: actions/cache/restore@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
target/release | |
target/debug | |
key: ${{ runner.os }}-cargo-index-${{ github.ref_name }}-harness-stress-tests | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Install Protobuf and LLVM | |
run: sudo apt-get install protobuf-compiler llvm libclang-dev | |
- name: t2n3 && 1 proposal per session | |
run: cargo run --package dkg-test-orchestrator --features=debug-tracing -- --tmp /tmp --threshold 2 --n 3 --bind 127.0.0.1:7777 --n-tests 10 -p 1 | |
- name: t2n3 && 2 proposals per session | |
run: cargo run --package dkg-test-orchestrator --features=debug-tracing -- --tmp /tmp --threshold 2 --n 3 --bind 127.0.0.1:7777 --n-tests 10 -p 2 | |
- name: t3n5 && 1 proposal per session | |
run: cargo run --package dkg-test-orchestrator --features=debug-tracing -- --tmp /tmp --threshold 3 --n 5 --bind 127.0.0.1:7777 --n-tests 10 -p 1 | |
- name: t3n5 && 2 proposals per session | |
run: cargo run --package dkg-test-orchestrator --features=debug-tracing -- --tmp /tmp --threshold 3 --n 5 --bind 127.0.0.1:7777 --n-tests 10 -p 2 | |
- name: Save Cache | |
if: ${{ !cancelled() }} | |
uses: actions/cache/save@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
target/release | |
target/debug | |
key: ${{ runner.os }}-cargo-index-${{ github.ref_name }}-harness-stress-tests |