Compare commits

...
Author SHA1 Message Date
anuraghazra ee8d6a895d chore: add codecov.yml
Test / build (push) Canceled after 0s
2020-07-22 23:43:00 +05:30
anuraghazra 81ef90a96f docs: added codecov badge 2020-07-22 23:00:46 +05:30
anuraghazra 829b779f88 chore: added coverage in vercelignore 2020-07-22 22:56:37 +05:30
anuraghazra 7a6e608254 fix: workflow file 2020-07-22 22:51:30 +05:30
anuraghazra f84b708401 fix: workflow file 2020-07-22 22:50:38 +05:30
anuraghazra cf9dd0a715 chore: test codecov 2020-07-22 22:48:43 +05:30
6 changed files with 20 additions and 2 deletions
+3
View File
@@ -34,3 +34,6 @@ jobs:
run: |
npm install
npm run test
- name: Code Coverage
uses: codecov/codecov-action@v1
+1
View File
@@ -2,3 +2,4 @@
.env
node_modules
package-lock.json
coverage
+2 -1
View File
@@ -1,2 +1,3 @@
.env
package-lock.json
package-lock.json
coverage
+10
View File
@@ -0,0 +1,10 @@
codecov:
require_ci_to_pass: yes
coverage:
precision: 2
round: down
range: "70...100"
status:
patch: false
+1 -1
View File
@@ -4,7 +4,7 @@
"description": "Dynamically generate stats for your github readmes",
"main": "index.js",
"scripts": {
"test": "jest",
"test": "jest --coverage",
"test:watch": "jest --watch"
},
"author": "Anurag Hazra",
+3
View File
@@ -8,6 +8,9 @@
<a href="https://github.com/anuraghazra/github-readme-stats/actions">
<img alt="Tests Passing" src="https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg" />
</a>
<a href="https://codecov.io/gh/anuraghazra/github-readme-stats">
<img src="https://codecov.io/gh/anuraghazra/github-readme-stats/branch/master/graph/badge.svg" />
</a>
<a href="https://github.com/anuraghazra/github-readme-stats/issues">
<img alt="Issues" src="https://img.shields.io/github/issues/anuraghazra/github-readme-stats?color=0088ff" />
</a>