File tree Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 40
40
41
41
- name : Test and cover
42
42
run : npm run cover
43
+
44
+ - name : Report NYC coverage to Coveralls
45
+ uses : coverallsapp/github-action@v2
46
+
47
+ - name : Report NYC coverage to pull request
48
+ uses : sidx1024/report-nyc-coverage-github-action@v1.2.7
49
+ with :
50
+ coverage_file : " coverage/coverage-summary.json"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# netatmo-nodejs-api
2
2
3
3
[ ![ license: AGPLv3] ( https://img.shields.io/badge/license-AGPLv3-blue.svg )] ( https://www.gnu.org/licenses/agpl-3.0 )
4
- [ ![ Build Status] ( https://travis-ci.com/ nioc/netatmo-nodejs-api.svg?branch=master )] ( https://travis-ci .com/nioc/netatmo-nodejs-api )
4
+ [ ![ Build Status] ( https://img.shields.io/github/actions/workflow/status/ nioc/xmpp-web/commit.yml?label=github%20build )] ( https://github .com/nioc/xmpp-web/actions/workflows/commit.yml )
5
5
[ ![ Coverage Status] ( https://coveralls.io/repos/github/nioc/netatmo-nodejs-api/badge.svg?branch=master )] ( https://coveralls.io/github/nioc/netatmo-nodejs-api?branch=master )
6
6
[ ![ GitHub release] ( https://img.shields.io/github/release/nioc/netatmo-nodejs-api.svg )] ( https://github.com/nioc/netatmo-nodejs-api/releases/latest )
7
7
[ ![ npms.io (final)] ( https://img.shields.io/npms-io/final-score/netatmo-nodejs-api )] ( https://www.npmjs.com/package/netatmo-nodejs-api )
Original file line number Diff line number Diff line change 8
8
"build" : " tsc -p ." ,
9
9
"lint" : " eslint ./src/**.ts" ,
10
10
"test" : " mocha test/index.test.js" ,
11
- "cover" : " nyc --reporter=html mocha test/index.test.js" ,
11
+ "cover-html" : " nyc --reporter=html mocha test/index.test.js" ,
12
+ "cover" : " nyc --reporter=json-summary --exclude-after-remap false mocha test/index.test.js" ,
12
13
"coveralls" : " nyc npm test && nyc report --reporter=text-lcov | coveralls"
13
14
},
14
15
"engines" : {
You can’t perform that action at this time.
0 commit comments