Unverified Commit 63ba6e66 authored by Anurag Hazra's avatar Anurag Hazra Committed by GitHub
Browse files

infra: Added codecov test coverage (#147)

* chore: test codecov

* fix: workflow file

* fix: workflow file

* chore: added coverage in vercelignore

* docs: added codecov badge
parent dc3e9a59
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -34,3 +34,6 @@ jobs:
        run: |
          npm install
          npm run test

      - name: Code Coverage
        uses: codecov/codecov-action@v1
+1 −0
Original line number Diff line number Diff line
@@ -2,3 +2,4 @@
.env
node_modules
package-lock.json
coverage
+2 −1
Original line number Diff line number Diff line
.env
package-lock.json
coverage
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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>