miden-crypto/.github/workflows/test.yml
.github/workflows/test.ymlRaw
1# Runs testing related jobs
2
3name: test
4
5on:
6 push:
7 branches:
8 - main
9 pull_request:
10 types: [opened, reopened, synchronize]
11
12jobs:
13 test:
14 name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.features}}
15 runs-on: ${{matrix.os}}-latest
16 strategy:
17 fail-fast: false
18 matrix:
19 toolchain: [stable, nightly]
20 os: [ubuntu]
21 features: ["test", "test-no-default-features"]
22 timeout-minutes: 30
23 steps:
24 - uses: actions/checkout@v4
25 with:
26 submodules: recursive
27 - name: Install rust
28 uses: actions-rs/toolchain@v1
29 with:
30 toolchain: ${{matrix.toolchain}}
31 override: true
32 - uses: davidB/rust-cargo-make@v1
33 - name: cargo make - test
34 run: cargo make ${{matrix.features}}