Fix features #140
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: zkcrypto tests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-11] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "[zkcrypto] Tests (minimal preset)" | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --manifest-path zkcrypto/Cargo.toml --no-fail-fast --test eip_4844 tests --features minimal-spec | |
- name: "[zkcrypto] Tests (mainnet preset)" | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --manifest-path zkcrypto/Cargo.toml --no-fail-fast | |
- name: "[zkcrypto] Tests (mainnet preset, parallel)" | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --manifest-path zkcrypto/Cargo.toml --no-fail-fast --features parallel | |
- name: "[zkcrypto] Clippy" | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: --manifest-path zkcrypto/Cargo.toml --all-targets --all-features -- -D warnings | |
- name: "[zkcrypto] Formatting" | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --manifest-path zkcrypto/Cargo.toml -- --check | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --manifest-path kzg-bench/Cargo.toml -- --check |