Skip to content

Commit

Permalink
ci: add circuit tests to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed May 9, 2024
1 parent 9e5919f commit 5ccc2cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- name: Test libraries
run: yarn test:libraries

- name: Test circuits
run: yarn test:circuits

- name: Coveralls
uses: coverallsapp/[email protected]
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ jobs:

- name: Test libraries
run: yarn test

- name: Test circuits
run: yarn test:circuits
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"scripts": {
"build": "yarn build:libraries",
"build:libraries": "yarn workspaces foreach -A -t --no-private run build",
"test": "yarn test:libraries",
"test": "yarn test:libraries && yarn test:circuits",
"test:libraries": "jest --coverage",
"test:library": "jest packages/${0}",
"test:circuits": "yarn workspace @semaphore-extensions/identity-proof.circom test",
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
"lint": "yarn lint:eslint",
"lint:fix": "yarn lint:eslint --fix",
Expand Down

0 comments on commit 5ccc2cb

Please sign in to comment.