Skip to content

Commit 6612f4d

Browse files
committed
Update recursive verification workflow and scripts
- Renamed the test step in the GitHub Actions workflow to "Run recursive verification script" and updated the command to execute the recursion script. - Increased the timeout for the recursive verification script from 10 to 15 minutes. - Added a new "clean" script in package.json to remove the store directory before running tests. - Modified the existing test script to include the clean step for better environment management. - Made minor adjustments to the run_recursion.ts script for improved readability.
1 parent 00d464a commit 6612f4d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/recursive-verification-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ jobs:
9191
bun data
9292
timeout-minutes: 30
9393

94-
- name: Run tests
94+
- name: Run recursive verification script
9595
working-directory: recursive_verification
96-
run: bun test
97-
timeout-minutes: 10
96+
run: bun recursion
97+
timeout-minutes: 15
9898

9999
- name: Upload test results if failed
100100
if: failure()

recursive_verification/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"module": "index.ts",
44
"type": "module",
55
"scripts": {
6+
"clean": "rm -rf store",
67
"cli": "bun run cli.ts",
78
"ccc": "cd contract && aztec-nargo compile && aztec-postprocess-contract && aztec codegen target -o artifacts",
89
"data": "bun run scripts/generate_data.ts",
910
"recursion": "tsx scripts/run_recursion.ts",
10-
"test": "bun test",
11+
"test": "bun clean && bun test",
1112
"test:watch": "bun test --watch"
1213
},
1314
"devDependencies": {

recursive_verification/scripts/run_recursion.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const sponsoredFPC = await getSponsoredFPCInstance();
1212
const sponsoredPaymentMethod = new SponsoredFeePaymentMethod(sponsoredFPC.address);
1313

1414
export const setupSandbox = async (): Promise<PXE> => {
15+
1516
try {
1617
const nodeUrl = 'http://localhost:8080';
1718
const node = await createAztecNodeClient(nodeUrl);

0 commit comments

Comments
 (0)