From 46e26a621cfb9bf4c72cda50a3a1a4a3ef621417 Mon Sep 17 00:00:00 2001 From: dapplion Date: Mon, 30 Nov 2020 22:07:26 +0000 Subject: [PATCH] Expose benchmark:all script --- .github/workflows/test.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2bfdb7b..999f802 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,4 +29,4 @@ jobs: run: yarn test:web - name: Benchmark - run: yarn benchmark + run: yarn benchmark:all diff --git a/package.json b/package.json index 7c46110..9c40fd5 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,8 @@ "test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'", "test": "yarn run test:unit && yarn run test:spec", "coverage": "codecov -F bls", - "benchmark": "ts-node test/benchmark" + "benchmark": "ts-node test/benchmark", + "benchmark:all": "cd test/benchmark && yarn install && yarn benchmark" }, "dependencies": { "@chainsafe/bls-keygen": "^0.3.0",