File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1- # [ python-shell] ( https://www.npmjs.com/package/python-shell ) [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/m8e3h53vvxg5wb2q?svg=true )] ( https://ci.appveyor.com/project/Almenon/python-shell )
1+ # [ python-shell] ( https://www.npmjs.com/package/python-shell ) [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/m8e3h53vvxg5wb2q?svg=true )] ( https://ci.appveyor.com/project/Almenon/python-shell ) [ ![ codecov ] ( https://codecov.io/gh/dhaval-lila/python-shell/branch/master/graph/badge.svg )] ( https://codecov.io/gh/dhaval-lila/python-shell )
22
3+ <!-- chage above url accroding to repo -->
34A simple way to run Python scripts from Node.js with basic but efficient inter-process communication and better error handling.
45
56## Features
Original file line number Diff line number Diff line change @@ -26,11 +26,15 @@ install:
2626 - cmd : powershell Install-Product node $env:nodejs_version
2727 - sh : nvm install $nodejs_version
2828 - npm install
29+ - npm install codecov -g
30+ - npm install nyc -g
2931
3032build : off
3133
3234test_script :
3335 - npm run appveyorTest
36+ - nyc report --reporter=json
37+ - codecov -f coverage/coverage-final.json
3438
3539cache :
3640 - node_modules -> package.json
Original file line number Diff line number Diff line change 77 ],
88 "scripts" : {
99 "test" : " tsc -p ./ && mocha" ,
10- "appveyorTest" : " tsc -p ./ && mocha --reporter mocha-appveyor-reporter test/*.js" ,
10+ "appveyorTest" : " tsc -p ./ && nyc mocha --reporter mocha-appveyor-reporter test/*.js" ,
1111 "compile" : " tsc -watch -p ./"
1212 },
1313 "dependencies" : {},
You can’t perform that action at this time.
0 commit comments