test coverage CircleCI
This commit is contained in:
parent
8a80a6631a
commit
543983597d
|
@ -6,12 +6,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm install -g istanbul
|
|
||||||
- run: npm run clean
|
- run: npm run clean
|
||||||
- run: npm run coverage
|
- run: npm run coverage
|
||||||
- run: npm run clean
|
- run: npm run clean
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: coverage
|
path: .nyc_output
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
.env
|
.env
|
||||||
node_modules/
|
node_modules/
|
||||||
coverage/
|
.nyc_output/
|
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node ./test.js",
|
"test": "node ./test.js",
|
||||||
"clean": "node ./clean.js",
|
"clean": "node ./clean.js",
|
||||||
"coverage": "istanbul cover ./test.js"
|
"coverage": "nyc npm run test | codacy-coverage"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -34,6 +34,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"dotenv": "^8.0.0",
|
"dotenv": "^8.0.0",
|
||||||
"greenlock-store-test": "^3.0.2"
|
"greenlock-store-test": "^3.0.2",
|
||||||
|
"nyc": "^14.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue