Skip to content

Commit

Permalink
build: add code coverage in GitHub (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshachinta committed Aug 7, 2023
1 parent 1bc43f4 commit 9f01d1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "mocha build/system-test --timeout 1600000",
"cleanup": "mocha scripts/cleanup.js --timeout 30000",
"test": "c8 mocha build/test build/test/common",
"test": "mocha build/test build/test/common",
"ycsb": "node ./benchmark/ycsb.js run -P ./benchmark/workloada -p table=usertable -p cloudspanner.instance=ycsb-instance -p operationcount=100 -p cloudspanner.database=ycsb",
"fix": "gts fix",
"clean": "gts clean",
Expand All @@ -47,7 +47,8 @@
"benchwrapper": "node bin/benchwrapper.js",
"prelint": "cd samples; npm link ../; npm install",
"precompile": "gts clean",
"compile-protos": "compileProtos src"
"compile-protos": "compileProtos src",
"coverage": "c8 mocha build/test build/test/common && c8 report --check-coverage"
},
"dependencies": {
"@google-cloud/common": "^4.0.0",
Expand Down

0 comments on commit 9f01d1c

Please sign in to comment.