mirror of
https://github.com/Aviortheking/codestats-readme.git
synced 2025-04-22 10:42:08 +00:00
infra: Added codecov test coverage (#147)
* chore: test codecov * fix: workflow file * fix: workflow file * chore: added coverage in vercelignore * docs: added codecov badge
This commit is contained in:
parent
dc3e9a59f2
commit
63ba6e6601
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -34,3 +34,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
|
- name: Code Coverage
|
||||||
|
uses: codecov/codecov-action@v1
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
.env
|
.env
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
coverage
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
.env
|
.env
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
coverage
|
@ -4,7 +4,7 @@
|
|||||||
"description": "Dynamically generate stats for your github readmes",
|
"description": "Dynamically generate stats for your github readmes",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest --coverage",
|
||||||
"test:watch": "jest --watch"
|
"test:watch": "jest --watch"
|
||||||
},
|
},
|
||||||
"author": "Anurag Hazra",
|
"author": "Anurag Hazra",
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
<a href="https://github.com/anuraghazra/github-readme-stats/actions">
|
<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" />
|
<img alt="Tests Passing" src="https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg" />
|
||||||
</a>
|
</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">
|
<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" />
|
<img alt="Issues" src="https://img.shields.io/github/issues/anuraghazra/github-readme-stats?color=0088ff" />
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user