-
Notifications
You must be signed in to change notification settings - Fork 27
41 lines (34 loc) · 974 Bytes
/
primitives.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
name: Primitives Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
paths:
- "stark-backend/**"
- "primitives/**"
- "poseidon2-air/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
AXIOM_FAST_TEST: "1"
jobs:
build:
runs-on: ubuntu-arm64-16core-64ram
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- uses: taiki-e/install-action@nextest
- name: Run tests for primitives
working-directory: primitives
run: |
cargo nextest run --cargo-profile fast --features parallel
- name: Run tests for poseidon2-air
working-directory: poseidon2-air
run: |
cargo nextest run --cargo-profile fast --features parallel