# Missing folders in GitHub repository from codecov reports

**URL:** <https://community.codecov.com/t/missing-folders-in-github-repository-from-codecov-reports/1009>\
**Category:** Support\
**Tags:** python, github\
**Created:** [February 13, 2020, 11:52am UTC](https://community.codecov.com/t/missing-folders-in-github-repository-from-codecov-reports/1009 "2020-02-13T11:52:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smoia](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/smoia/32/543_2.png) [@smoia](https://community.codecov.com/u/smoia)\
**Post date:** [February 13, 2020, 11:52am UTC](https://community.codecov.com/t/missing-folders-in-github-repository-from-codecov-reports/1009/1 "2020-02-13T11:52:40Z")

</div>

### Description

Hello,  
I’m new to code coverage and codecov, and I don’t know if this issue I’m having is due to my settings being wrong.

I have a repository on GitHub ([https://github.com/physiopy/phys2bids](https://github.com/physiopy/phys2bids)) that uses Travis to run CI. We’re trying to get codecoverage with codecov, but almost all the folders of the project are missing. One folder is in my codecov yaml configuration file in the “ignore” section (as I don’t want coverage for that folder), but the others are not reported anywhere.

How can I make it so codecov reads them?

I read the documentations and went through the topics here, I hope I didn’t miss anything!

### Repository

[https://github.com/physiopy/phys2bids](https://github.com/physiopy/phys2bids)

---

<div class="post-metadata">

**Author:** ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)\
**Post date:** [February 19, 2020, 7:26pm UTC](https://community.codecov.com/t/missing-folders-in-github-repository-from-codecov-reports/1009/2 "2020-02-19T19:26:46Z")

</div>

Hi @smoia

Welcome to Codecov! If you check the raw reports for the commit under the build tab, do you see coverage for the missing files? [https://codecov.io/gh/physiopy/phys2bids/commit/7f7fdbfddffd9da4b6b8eeb5683ff0f7d13825f8/build](https://codecov.io/gh/physiopy/phys2bids/commit/7f7fdbfddffd9da4b6b8eeb5683ff0f7d13825f8/build)

If so, can you share a missing file so we can take a look and see why it’s not showing?

---

<div class="post-metadata">

**Author:** ![smoia](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/smoia/32/543_2.png) [@smoia](https://community.codecov.com/u/smoia)\
**Post date:** [February 19, 2020, 10:30pm UTC](https://community.codecov.com/t/missing-folders-in-github-repository-from-codecov-reports/1009/3 "2020-02-19T22:30:20Z")

</div>

Hello @drazisil! Thank you!

I actually solved the problem: the repository is a python repository, and there was no **init**.py file inside the folders that were missing. Adding an empty file was enough to solve the issue.

In fact, this is a nice trick as to exclude folders that shouldn’t be tested is easier than excluding them - just don’t add the **init**.py file.

It might be specific to the settings of my repo, but maybe it’s something that can be generalised!
