-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 832 Bytes
/
test.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
name: Noir tests
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test on Nargo ${{matrix.toolchain}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain: [0.39.0, 1.0.0-beta.0]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: ${{ matrix.toolchain }}
- name: Run Noir tests
run: nargo test
format:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: 1.0.0-beta.0
- name: Run formatter
run: nargo fmt --check