Coveralls integration
authoraardizio <alessandroardizio94@gmail.com>
Wed, 22 Jan 2020 22:11:13 +0000 (23:11 +0100)
committeraardizio <alessandroardizio94@gmail.com>
Wed, 22 Jan 2020 22:11:13 +0000 (23:11 +0100)
.github/workflows/main.yml
README.MD

index d99684f60f2d93ca90e187c59dbb6cd5f3ac3558..a47cdc6c2c9ece21685525fe3649a16a742d83ea 100644 (file)
@@ -22,5 +22,7 @@ jobs:
         npm ci
         npm run build --if-present
         npm run test
+        export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }}
+        npm run coverage
       env:
         CI: true
index b8764a93cfbd1058496e7ad214b8236011537902..677199800a85c42a5a6cd9a9a468be1b7ab38524 100644 (file)
--- a/README.MD
+++ b/README.MD
@@ -2,6 +2,7 @@
 [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
 [![Dependabot](https://badgen.net/dependabot/dependabot/dependabot-core/?icon=dependabot)](https://badgen.net/dependabot/dependabot/dependabot-core/?icon=dependabot)
 [![Actions Status](https://github.com/pioardi/node-pool/workflows/NodeCI/badge.svg)](https://github.com/pioardi/node-pool/actions)
+[![Coverage Status](https://coveralls.io/repos/github/pioardi/node-thread-pool/badge.svg)](https://coveralls.io/github/pioardi/node-thread-pool)
 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
 [![NODEP](https://img.shields.io/static/v1?label=dependencies&message=no%20dependencies&color=brightgreen
 )](https://img.shields.io/static/v1?label=dependencies&message=no%20dependencies&color=brightgreen