Some files in coverage report not appearing in Codecov

Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.
Related issues:

I have verified that my repository is using the Codecov GitHub app, if using GitHub
[N/A] I have validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.


Most files in the coverage report are showing up on Codecov, but some aren’t. I can’t see anything to differentiate between the files which are included and those which are not.


Codecov Output

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/

==> git version 2.38.1 found
==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
==> GitHub Actions detected.
    Env vars used:
      -> GITHUB_ACTIONS:    true
      -> GITHUB_HEAD_REF:   
      -> GITHUB_REF:        refs/heads/master
      -> GITHUB_REPOSITORY: DeepSenseCA/echofilter
      -> GITHUB_RUN_ID:     3473069984
      -> GITHUB_SHA:        b1500d1d68a2be962425cf58caafc6c65dbb6ef9
      -> GITHUB_WORKFLOW:   tests
    project root: .
    Yaml not found, that's ok! Learn more at
==> Running gcov in . (disable via -X gcov)
==> Searching for coverage reports in:
    + .
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Appending build variables
    + OS
    + PYTHON
==> Reading reports
    + ./coverage.xml bytes=282646
==> Appending adjustments
    -> No adjustments found
==> Gzipping contents
        24K	/tmp/codecov.2U9FEv.gz
==> Uploading reports
    query: branch=master&commit=b1500d1d68a2be962425cf58caafc6c65dbb6ef9&build=3473069984&,F,Q,e
->  Pinging Codecov,F,Q,e
->  Uploading to
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 23463    0     0  100 23463      0   101k --:--:-- --:--:-- --:--:--  101k
    -> Reports have been successfully queued for processing at

Expected Results

All files in coverage.xml to appear on Codecov in the file tree.

Actual Results

Only some of the files in coverage.xml appear in the file tree on Codecov.

In particular, you can see files:
Appear in the coverage report on GHA: Merge pull request #300 from DeepSenseCA/bug_evl-right-pad · DeepSenseCA/echofilter@b1500d1 · GitHub
But these aren’t in the file list on Codecov: Codecov

These files do exist, and aren’t any different from other files in the same directory which are reported on Codecov.
The same files have been consistently dropped from the coverage report on Codecov for every CI run.

Additional Information

The paths to the files in the source are the same as paths in the coverage.xml file. I don’t have a codecov.yaml file, or a setup.cfg file. I’m expecting everything to work out of the box like Codecov previously has for me, and don’t see a reason why it wouldn’t in this case.

I resolved the issue by upgrading the GitHub codecov action from v1 to v3, which was discontinued and apparently no longer works. I am surprised that there is no message in the codecov v1 action’s report to indicate it was discontinued.

There was an issue with codecov@v3 not automatically determining the repo identity despite it being a public github repo. (This wasn’t an issue with v1 initially, but started to be an issue when I re-installed the the Codecov GitHub app at the request of the support checklist for this issue. It was in googling that error that I discovered v1 was discontinued.)

To get everything working, I needed to upgrade the action from v1 to v3, and also add my repo’s codecov token to the repo’s secrets and use the token with the codecov action.

The changes were implemented in this PR. CI: Fix Codecov reports by scottclowe · Pull Request #304 · DeepSenseCA/echofilter · GitHub

1 Like