mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
Fix coverage reporting.
This commit is contained in:
parent
c80c201a61
commit
d55941191d
@ -35,7 +35,6 @@ script:
|
||||
- npm run doc
|
||||
- ./scripts/wait_for_migration_and_extract_keeper_artifacts.sh
|
||||
- npm run integration:cover
|
||||
- npm run merge-coverages
|
||||
- npm run report-coverage
|
||||
|
||||
after_script:
|
||||
|
@ -14,7 +14,7 @@
|
||||
"integration:watch": "mocha -w --watch-extensions js,ts,json --opts integration/mocha.opts",
|
||||
"integration:cover": "nyc --report-dir coverage/integration mocha --opts integration/mocha.opts",
|
||||
"examples": "./src/examples/fire_lazers.sh",
|
||||
"clean": "rm -rf ./dist/ ./doc/ ./coverage ./.nyc_output",
|
||||
"clean": "rm -rf ./dist/ ./doc/ ./.nyc_output",
|
||||
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts' 'integration/**/*.ts'",
|
||||
"start": "npm link @oceanprotocol/keeper-contracts @oceanprotocol/secret-store-client && npm run build:watch",
|
||||
"build": "npm run clean && npm run build:tsc && npm run build:dist",
|
||||
@ -23,7 +23,9 @@
|
||||
"build:watch": "tsc -w",
|
||||
"doc": "typedoc --mode modules --exclude \"**/examples/**\" --out ./doc/ ./src/",
|
||||
"merge-coverages": "npx lcov-result-merger \"coverage/*/lcov.info\" coverage/lcov.info",
|
||||
"report-coverage": "cat ./coverage/lcov.info | codacy-coverage --token 71ef0d15f6f04ac29b31d704b28f866a",
|
||||
"report-coverage": "npm run report-coverage:unit && npm run report-coverage:integration",
|
||||
"report-coverage:unit": "cat coverage/unit/lcov.info | codacy-coverage --token 71ef0d15f6f04ac29b31d704b28f866a",
|
||||
"report-coverage:integration": "cat coverage/integration/lcov.info | codacy-coverage --token 71ef0d15f6f04ac29b31d704b28f866a",
|
||||
"run": "ts-node",
|
||||
"release": "./node_modules/release-it/bin/release-it.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"release-minor": "./node_modules/release-it/bin/release-it.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
|
Loading…
Reference in New Issue
Block a user