arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
miden-crypto/.github/workflows/test.yml
.github/workflows/test.ymlRaw
 1# Runs test related jobs.
 2
 3name: test
 4
 5on:
 6  push:
 7    branches: [main, next]
 8  pull_request:
 9    types: [opened, reopened, synchronize]
10
11jobs:
12  test:
13    name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}}
14    runs-on: ${{matrix.os}}-latest
15    strategy:
16      fail-fast: false
17      matrix:
18        toolchain: [stable, nightly]
19        os: [ubuntu]
20        args: [default, smt-hashmaps, no-std]
21    timeout-minutes: 30
22    steps:
23      - uses: actions/checkout@main
24      - uses: taiki-e/install-action@nextest
25      - name: Perform tests
26        run: |
27          rustup update --no-self-update ${{matrix.toolchain}}
28          make test-${{matrix.args}}