-
Notifications
You must be signed in to change notification settings - Fork 51
48 lines (39 loc) · 1.37 KB
/
zkcrypto-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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