Description
Code coverage on Codecov is different than developers received locally.
Code coverage done right. 86.5278%
The coverage got from developers = 91.55%
For more details, please see attachments.
Repository
A link to the repository in question (or private)
CI/CD
Travis CI
Uploader
Bash (reproduced issue with codecov uploader too)
Commit SHAs
Please include the commit SHA(s)
Codecov YAML
coverage:
range: 80β¦100
round: up
precision: 4
notify:
wait_for_ci: false
ci:
- βtravis.orgβ
status:
project:
authentication:
paths:
- ./@here/olp-sdk-authentication
threshold: 1
dataservice-read:
paths:
- ./@here/olp-sdk-dataservice-read
threshold: 1
dataservice-write:
paths:
- ./@here/olp-sdk-dataservice-write
threshold: 1
olp-sdk-fetch:
paths:
- ./@here/olp-sdk-fetch
threshold: 1
olp-sdk-dataservice-api:
paths:
- ./@here/olp-sdk-dataservice-api
threshold: 1
ignore:
- ./@here/olp-sdk-authentication/test
- ./@here/olp-sdk-core/test
- ./@here/olp-sdk-dataservice-api/test
- ./@here/olp-sdk-dataservice-read/test
- ./@here/olp-sdk-dataservice-write/test
- ./@here/olp-sdk-fetch/test
- docs
- scripts
- tests
Codecov Output
1504 / ____| | |
1505| | ___ __| | ___ ___ _____ __
1506| | / _ \ / _` |/ _ / __/ _ \ \ / /
1507| || () | (| | __/ (| (_) \ V /
1508 ______/ _,|_|____/ _/
1509 Bash-20200728-9fb7d93
1510
1511
1512==> Travis CI detected.
1513 project root: .
1514 Yaml found at: codecov.yml
1515==> Running gcov in . (disable via -X gcov)
1516==> Python coveragepy not found
1517==> Searching for coverage reports in:
1518 + .
1519 β Found 9 reports
1520==> Detecting git/mercurial file structure
1521==> Appending build variables
1522 + TRAVIS_OS_NAME
1523 + lts/*
1524==> Reading reports
1525 + ./@here/olp-sdk-core/coverage/lcov.info bytes=12555
1526 + ./@here/olp-sdk-dataservice-read/coverage/lcov.info bytes=26937
1527 + ./@here/olp-sdk-dataservice-api/coverage/lcov.info bytes=12771
1528 + ./@here/olp-sdk-dataservice-api/lib/coverage-api.d.ts bytes=3543
1529 + ./@here/olp-sdk-dataservice-api/lib/coverage-api.ts bytes=6680
1530 + ./@here/olp-sdk-dataservice-api/lib/coverage-api.js.map bytes=2618
1531 + ./@here/olp-sdk-dataservice-write/coverage/lcov.info bytes=5452
1532 + ./@here/olp-sdk-fetch/coverage/lcov.info bytes=953
1533 + ./@here/olp-sdk-authentication/coverage/lcov.info bytes=3081
1534==> Appending adjustments
1535 Fixing Reports
1536 + Found adjustments
1537==> Gzipping contents
1538==> Uploading reports
1539 url: https://codecov.io
1540 query: branch=master&commit=ef4c940f8a36e49d8de6fc2d75e05f7e89da6b41&build=1345.1&build_url=&name=&tag=&slug=heremaps%2Fhere-data-sdk-typescript&service=travis&flags=&pr=false&job=367856266&cmd_args=
1541-> Pinging Codecov
1542https://codecov.io/upload/v4?package=bash-20200728-9fb7d93&token=secret&branch=master&commit=ef4c940f8a36e49d8de6fc2d75e05f7e89da6b41&build=1345.1&build_url=&name=&tag=&slug=heremaps%2Fhere-data-sdk-typescript&service=travis&flags=&pr=false&job=367856266&cmd_args=
1543-> Uploading to
1544https://storage.googleapis.com/codecov/v4/raw/2020-08-03/E8BD9F12AB45E7F7BCFFAB6F149C925C/ef4c940f8a36e49d8de6fc2d75e05f7e89da6b41/398a6926-76a9-4049-a143-e59848189c25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200803%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200803T120423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b954f980ceabd7fad939849247b03866c545944ba8729e47e3737ba19f2e81ab
1545 % Total % Received % Xferd Average Speed Time Time Time Current
1546 Dload Upload Total Spent Left Speed
1547100 22662 0 0 100 22662 0 140k --:β:-- --:β:-- --:β:-- 140k
1548 β View reports at Code coverage done right.
Steps to Reproduce
- Every PR or master builds
Expected behavior: [Coverage is strictly the same as locally, line partials are disabled by default.]
Actual behavior: [Codecov shows different coverage, line partials are ON , but canβt be OFF]
Flakiness? [ all the time]
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.