diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ada78d..3943f72 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,11 +25,11 @@ jobs: - name: Download and install Circom run: | - CIRCOM_VERSION=2.1.9 + CIRCOM_VERSION=2.1.9 curl -L https://github.com/iden3/circom/releases/download/v$CIRCOM_VERSION/circom-linux-amd64 -o circom chmod +x circom sudo mv circom /usr/local/bin/ - circom --version + circom --version - name: Run tests - run: npx mocha + run: npm run par-test diff --git a/package.json b/package.json index 8af29d1..8f55708 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "version": "0.1.0", "license": "Apache-2.0", "scripts": { - "test": "npx mocha" + "test": "npx mocha", + "par-test": "npx mocha --parallel" }, "dependencies": { "@zk-email/circuits": "^6.1.1", @@ -22,4 +23,4 @@ "type": "git", "url": "https://github.com/pluto/extractor.git" } -} +} \ No newline at end of file