Coverage is 100% (locally) vs 3.28% (codcov.io)

Description

The coverage dropped from 100% to 3.28% with one of the commits which should not have changed the coverage at all. (see https://codecov.io/gh/ocelhay/comoOdeCpp/commits). The commit that seems to have caused the drop is https://codecov.io/gh/ocelhay/comoOdeCpp/commit/5e34ef162d76358cfccf48465ce3233ac1ca9755

I’ve made a few commits after that one, however, the coverage remained really low. After the latest commit (09da958e1abde0d5a1e91316fe8b407386a59178) the coverage is still showing as 100% when tested locally with codecov(quiet=FALSE), but codecov.io is showing only ~3% coverage for some reason?

Repository

CI/CD

Travis CI

Uploader

Not required because Travis CI

Commit SHAs

Codecov YAML

fixes:
  - "::comoOdeCpp/"

Codecov Output

$ Rscript -e ‘library(covr);codecov()’
$uploaded
[1] TRUE
$url
[1] “https://codecov.io/github/ocelhay/comoOdeCpp/commit/09da958e1abde0d5a1e91316fe8b407386a59178
$queued
[1] TRUE
$meta
$meta$status
[1] 200
$message
[1] “Coverage reports upload successfully”
$id
[1] “11998cee-9321-46a8-9ff1-b00f861ae538”

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Hi @bogaotory, if you take a look at the coverage report uploaded to Codecov you’ll notice that almost all the lines are 0 or null, meaning not covered or no coverage. What uploader are you using and can you link to a Travis build?