Skip to content

Commit

Permalink
test(stress): add stress test with ceremony params
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlc03 committed Jan 12, 2024
1 parent dcca295 commit 537d3b8
Show file tree
Hide file tree
Showing 5 changed files with 421 additions and 77 deletions.
71 changes: 0 additions & 71 deletions .github/scripts/ceremony-param-tests-c-witness.sh

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/nightly-ceremony.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Nightly Ceremony

on:
schedule:
- cron: 0 0 * * *
push:
branches:
- test/stress-test

env:
STATE_TREE_DEPTH: ${{ vars.STATE_TREE_DEPTH }}
Expand Down Expand Up @@ -57,8 +58,8 @@ jobs:
- name: Download ceremony artifacts
run: ./.github/scripts/download-ceremony-artifacts.sh

- name: Run e2e tests
run: ./.github/scripts/ceremony-param-tests-c-witness.sh
- name: Run stress tests
run: pnpm run test:stress

- name: Stop Hardhat
if: always()
Expand Down
5 changes: 3 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "tsc -p tsconfig.build.json",
"postbuild": "cp package.json ./build",
"types": "tsc -p tsconfig.json --noEmit",
"test": "nyc ts-mocha --exit tests/**/*.test.ts",
"test": "nyc ts-mocha --exit tests/e2e/*.test.ts tests/unit/*.test.ts",
"test:e2e": "ts-mocha --exit tests/e2e.test.ts",
"test:e2e-subsidy": "ts-mocha --exit tests/e2e.subsidy.test.ts",
"test:keyChange": "ts-mocha --exit tests/keyChange.test.ts",
Expand All @@ -24,7 +24,8 @@
"test:genKeypair": "ts-mocha --exit tests/unit/genKeyPair.test.ts",
"test:timeTravel": "ts-mocha --exit tests/unit/timeTravel.test.ts",
"test:fundWallet": "ts-mocha --exit tests/unit/fundWallet.test.ts",
"test:utils": "ts-mocha --exit tests/unit/utils.test.ts"
"test:utils": "ts-mocha --exit tests/unit/utils.test.ts",
"test:stress": "ts-mocha --exit tests/stress/*.test.ts"
},
"dependencies": {
"@commander-js/extra-typings": "^11.1.0",
Expand Down
Loading

0 comments on commit 537d3b8

Please sign in to comment.