EveryVoiceTTS / EveryVoiceTTS/EveryVoice

codecov does not include submodule code in the report or statistics

Open
#171 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
45
Forks
4
Avg merge
1d 8h
Merged PRs (30d)
14

Description

Relevant codecov.io threads:
- https://community.codecov.com/t/codecov-io-ui-not-resolving-submodule-paths-in-github/713
- https://community.codecov.com/t/problem-getting-the-source-code-from-your-provider-unable-to-show-line-by-line-coverage/4128
- https://community.codecov.com/t/coverage-of-external-files/1315

I have tried some variants in branch dev.ej/codecov-with-submodules to attempt to fix this, but no luck.

When I expect the payload uploaded to codecov, I can see that the submodule code is in the XML part of the payload, but the file list at the beginning does not include the submodule python files, which is probably why they're excluded. I've inspected the code in our upload action, https://github.com/codecov/codecov-action but I didn't find where the file list is being built or how to trigger the change we need.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the codecov upload action and the attempted branch dev.ej/codecov-with-submodules, then compare the uploaded XML with the file list that precedes it. Trace where the file list is assembled and verify that submodule Python files appear in Codecov reports and statistics.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.