Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
RajeshRk18 committed Feb 9, 2024
1 parent 4fa03ce commit 274cd7a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: test

on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:

jobs:
nargo:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Nargo
uses: noir-lang/[email protected]
with:
toolchain: nightly

- name: Run nargo test
run: |
nargo test
2 changes: 1 addition & 1 deletion src/poly.nr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use dep::std::collections::vec::Vec;

/// As the loop needs to be bounded, we restrict the polynomial size. This is highly inefficient and generates more constraints than needed
/// if the polynomial is less than MAX_POLY_SIZE.
global MAX_POLY_SIZE: u112 = 1000000;
global MAX_POLY_SIZE: u112 = 1000000000;

struct Polynomial {
coeffs: Vec<PrimeField>
Expand Down

0 comments on commit 274cd7a

Please sign in to comment.