diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 055412e..6bc3617 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -48,6 +48,9 @@ jobs: - name: Test libraries run: yarn test:libraries + - name: Test circuits + run: yarn test:circuits + - name: Coveralls uses: coverallsapp/github-action@v2.2.3 with: diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index a600e58..1fb8bc3 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -45,3 +45,6 @@ jobs: - name: Test libraries run: yarn test + + - name: Test circuits + run: yarn test:circuits diff --git a/package.json b/package.json index a1ad400..3cee8b0 100644 --- a/package.json +++ b/package.json @@ -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",