Skip to content

Commit a3a1feb

Browse files
authored
Merge pull request #172 from dhaval-lila/master
This PR solves issue #147
2 parents efd9674 + 39054fb commit a3a1feb

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
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 -->
34
A simple way to run Python scripts from Node.js with basic but efficient inter-process communication and better error handling.
45

56
## Features

appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

3032
build: off
3133

3234
test_script:
3335
- npm run appveyorTest
36+
- nyc report --reporter=json
37+
- codecov -f coverage/coverage-final.json
3438

3539
cache:
3640
- node_modules -> package.json

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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": {},

0 commit comments

Comments
 (0)