test coverage CircleCI
This commit is contained in:
parent
8a80a6631a
commit
543983597d
|
@ -6,12 +6,11 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- run: npm install
|
||||
- run: npm install -g istanbul
|
||||
- run: npm run clean
|
||||
- run: npm run coverage
|
||||
- run: npm run clean
|
||||
- store_artifacts:
|
||||
path: coverage
|
||||
path: .nyc_output
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
.env
|
||||
node_modules/
|
||||
coverage/
|
||||
.nyc_output/
|
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,7 @@
|
|||
"scripts": {
|
||||
"test": "node ./test.js",
|
||||
"clean": "node ./clean.js",
|
||||
"coverage": "istanbul cover ./test.js"
|
||||
"coverage": "nyc npm run test | codacy-coverage"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -34,6 +34,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"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