Skip to content

Commit

Permalink
experiment with mocha parallel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lonerapier committed Aug 28, 2024
1 parent 26031e3 commit 20ef2b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -22,4 +23,4 @@
"type": "git",
"url": "https://github.com/pluto/extractor.git"
}
}
}

0 comments on commit 20ef2b4

Please sign in to comment.