Create benchmark runner and allow parallel execution #13
Workflow file for this run
This file contains hidden or 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: Rust Checks | |
on: | |
push: | |
branches: [ main, master ] | |
pull_request: | |
branches: [ main, master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
name: Minimal checks on non-zkvm crates | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Download and Extract Fixtures | |
run: | | |
chmod +x ./scripts/download-and-extract-fixtures.sh | |
./scripts/download-and-extract-fixtures.sh | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
- name: Check formatting | |
run: cargo fmt --check --all | |
- name: Run tests | |
run: cargo test -p zkevm-metrics -p witness-generator |