Skip to content

chore: add CI to run test suite #2

chore: add CI to run test suite

chore: add CI to run test suite #2

Workflow file for this run

name: Noir tests
on:
push:
branches:
- master
pull_request:
env:
CARGO_TERM_COLOR: always
NARGO_VERSION: 0.31.0
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Nargo
uses: noir-lang/[email protected]
with:
toolchain: $NARGO_VERSION
- 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/[email protected]
with:
toolchain: $NARGO_VERSION
- name: Run formatter
run: nargo fmt --check