Skip to content

Commit f6ca8ad

Browse files
chore: fuzz test (#12)
Co-authored-by: Tom French <[email protected]>
1 parent 608129e commit f6ca8ad

File tree

15 files changed

+1430
-2750
lines changed

15 files changed

+1430
-2750
lines changed

.github/workflows/nightly-canary.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,20 @@ jobs:
2424
with:
2525
toolchain: nightly
2626

27-
- name: Run Noir tests
28-
run: nargo test
27+
- name: Setup Node.js and install dependencies
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: 22.15.0
31+
cache: 'yarn'
32+
cache-dependency-path: 'yarn.lock'
33+
34+
- name: Install dependencies
35+
run: |
36+
yarn --immutable
37+
38+
- name: Run all tests (including oracle tests)
39+
working-directory: ./scripts
40+
run: ./run.sh
2941

3042
- name: Alert on dead links
3143
uses: JasonEtco/create-an-issue@v2

.github/workflows/test.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,20 @@ jobs:
4747
with:
4848
toolchain: ${{ matrix.toolchain }}
4949

50-
- name: Run Noir tests
51-
run: nargo test
52-
50+
- name: Setup Node.js and install dependencies
51+
uses: actions/setup-node@v4
52+
with:
53+
node-version: 22.15.0
54+
cache: 'yarn'
55+
cache-dependency-path: 'yarn.lock'
56+
57+
- name: Install dependencies
58+
run: |
59+
yarn --immutable
60+
61+
- name: Run all tests (including oracle tests)
62+
working-directory: ./scripts
63+
run: ./run.sh
5364
rust-equivalence-tests:
5465
name: Test for equivalence against Rust impl
5566
runs-on: ubuntu-latest
@@ -72,9 +83,21 @@ jobs:
7283
with:
7384
key: x86_64-unknown-linux-gnu
7485
cache-on-failure: true
86+
87+
- name: Setup Node.js and install dependencies
88+
uses: actions/setup-node@v4
89+
with:
90+
node-version: 22.15.0
91+
cache: 'yarn'
92+
cache-dependency-path: 'yarn.lock'
93+
94+
- name: Install dependencies
95+
run: |
96+
yarn --immutable
7597
7698
- name: Export and Test Noir Functions
77-
run: ./scripts/fuzz-test.sh
99+
working-directory: ./scripts
100+
run: ./run.sh
78101

79102
format:
80103
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
### Features
1414

15-
* Initial release ([#1](https://github.com/noir-lang/poseidon/issues/1)) ([e20ea4a](https://github.com/noir-lang/poseidon/commit/e20ea4a7ccd8634a281c09244890b086182611b9))
15+
* Initial release ([#1](https://github.com/noir-lang/poseidon/issues/1)) ([e20ea4a](https://github.com/noir-lang/poseidon/commit/e20ea4a7ccd8634a281c09244890b086182611b9))

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ The Changelog is automatically managed by Release Please and informed by the Con
8686

8787
## Response time
8888

89-
The team will respond to issues and PRs within 1 week from submission.
89+
The team will respond to issues and PRs within 1 week from submission.

0 commit comments

Comments
 (0)