Run benchmarks on CI

This commit is contained in:
dapplion 2020-11-20 19:37:07 +00:00
parent 990258dbd9
commit 2073d31a15
2 changed files with 3 additions and 1 deletions

View File

@ -20,3 +20,5 @@ jobs:
run: yarn lint run: yarn lint
- name: Tests - name: Tests
run: yarn test run: yarn test
- name: Benchmark
run: yarn benchmark

View File

@ -36,7 +36,7 @@
"test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'", "test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'",
"test": "yarn run test:unit && yarn run test:spec", "test": "yarn run test:unit && yarn run test:spec",
"coverage": "codecov -F bls", "coverage": "codecov -F bls",
"benchmark": "node -r ./.babel-register test/benchmarks" "benchmark": "ts-node test/benchmark"
}, },
"dependencies": { "dependencies": {
"@chainsafe/bls-keygen": "^0.2.0", "@chainsafe/bls-keygen": "^0.2.0",