# Coverage badge on a per-directory basis

**URL:** https://community.codecov.com/t/coverage-badge-on-a-per-directory-basis/3158
**Category:** Feature Requests
**Created:** [August 25, 2021, 4:14am UTC](https://community.codecov.com/t/coverage-badge-on-a-per-directory-basis/3158 "2021-08-25T04:14:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rajivpo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/rajivpo/32/2059_2.png) [@rajivpo](https://community.codecov.com/u/rajivpo)
#### Post date: [August 25, 2021, 4:14am UTC](https://community.codecov.com/t/coverage-badge-on-a-per-directory-basis/3158/1 "2021-08-25T04:14:24Z")

</div>

**Summary**

Allow multiple coverage badges within a single repo on a per-directory basis.

**Description**

Currently coverage badges are on a per-repo basis. It would be useful to enable finer-grain coverage badges in the case that a monorepo has multiple packages and coverage on a per-package basis would like to be featured directly in a README.

**Examples**

The specific use-case at hand is wanting to feature multiple coverage badges within a monorepo for each sub-package.

**Versions**

Using github, github actions, and markdown for the relevant package READMEs.

---

<div class="post-metadata">

### Author: ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)
#### Post date: [August 25, 2021, 4:27am UTC](https://community.codecov.com/t/coverage-badge-on-a-per-directory-basis/3158/2 "2021-08-25T04:27:57Z")

</div>

It currently is possible to have multiple coverage badges per [flag](https://docs.codecov.com/docs/flags), do you have a monorepo situation that fits this?

---

<div class="post-metadata">

### Author: ![rajivpo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/rajivpo/32/2059_2.png) [@rajivpo](https://community.codecov.com/u/rajivpo)
#### Post date: [August 25, 2021, 4:48am UTC](https://community.codecov.com/t/coverage-badge-on-a-per-directory-basis/3158/3 "2021-08-25T04:48:28Z")

</div>

Oh awesome - this looks promising. Will definitely try this out!

---

<div class="post-metadata">

### Author: ![rajivpo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/rajivpo/32/2059_2.png) [@rajivpo](https://community.codecov.com/u/rajivpo)
#### Post date: [August 31, 2021, 3:21am UTC](https://community.codecov.com/t/coverage-badge-on-a-per-directory-basis/3158/4 "2021-08-31T03:21:06Z")

</div>

Hi just wondering if you know of any public repos that implement coverage badges at the package level (e.g. an example of a monorepo that has this). Would be cool to see how others do it 🙂

---

<div class="post-metadata">

### Author: ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)
#### Post date: [September 3, 2021, 1:38pm UTC](https://community.codecov.com/t/coverage-badge-on-a-per-directory-basis/3158/5 "2021-09-03T13:38:32Z")

</div>

Hi @rajivpo, I’m sorry I wish I had better data on this, but we don’t.
