Badge Not Updating

Please check the troubleshooting guide before creating a ticket.

Description

When I go into Codecov my coverage is around 85% but the badge says only 70%

Repository

CI/CD

GitHub Actions

Uploader

bash uploader

Commit SHAs

e4eae37fb297cd9364776f120ca9f8a8a55e5b20

Codecov YAML

none

Codecov Output

2020-09-23T00:43:51.3983796Z ##[group]Run codecov/codecov-action@v1
2020-09-23T00:43:51.3984196Z with:
2020-09-23T00:43:51.3985214Z token: ***
2020-09-23T00:43:51.3985511Z fail_ci_if_error: true
2020-09-23T00:43:51.3985783Z env:
2020-09-23T00:43:51.3986148Z JAVA_HOME_11.0.8_x64: /opt/hostedtoolcache/jdk/11.0.8/x64
2020-09-23T00:43:51.3986633Z JAVA_HOME: /opt/hostedtoolcache/jdk/11.0.8/x64
2020-09-23T00:43:51.3987117Z JAVA_HOME_11_0_8_X64: /opt/hostedtoolcache/jdk/11.0.8/x64
2020-09-23T00:43:51.3987512Z ##[endgroup]
2020-09-23T00:43:51.6106048Z [command]bash codecov.sh -n -F -Z
2020-09-23T00:43:51.6197044Z
2020-09-23T00:43:51.6197869Z _____ _
2020-09-23T00:43:51.6198266Z / | | |
2020-09-23T00:43:51.6198641Z | | ___ __| | ___ ___ _____ __
2020-09-23T00:43:51.6198995Z | | / _ \ / ` |/ _ / / _ \ \ / /
2020-09-23T00:43:51.6199351Z | |
| (
) | (
| | __/ (
| (
) \ V /
2020-09-23T00:43:51.6199702Z ______/ _,|_|____/ _/
2020-09-23T00:43:51.6200821Z Bash-20200917-4e8f14b
2020-09-23T00:43:51.6201265Z
2020-09-23T00:43:51.6201554Z
2020-09-23T00:43:51.6210284Z e[0;90m==>e[0m GitHub Actions detected.
2020-09-23T00:43:51.6325019Z e[0;90mproject root:e[0m .
2020-09-23T00:43:51.6327413Z e[0;90m–>e[0m token set from env
2020-09-23T00:43:51.6391719Z e[0;32mYaml not found, that’s ok! Learn more ate[0m e[0;36mhttp://docs.codecov.io/docs/codecov-yamle[0m
2020-09-23T00:43:51.6712660Z e[0;90m==>e[0m Running gcov in . e[0;90m(disable via -X gcov)e[0m
2020-09-23T00:43:51.6800029Z e[0;90m==>e[0m Python coveragepy not found
2020-09-23T00:43:51.6800728Z e[0;90m==>e[0m Searching for coverage reports in:
2020-09-23T00:43:51.6801217Z e[0;32m+e[0m .
2020-09-23T00:43:51.7089290Z e[0;90m->e[0m Found 1 reports
2020-09-23T00:43:51.7091888Z e[0;90m==>e[0m Detecting git/mercurial file structure
2020-09-23T00:43:51.7174063Z e[0;90m==>e[0m Reading reports
2020-09-23T00:43:51.7253411Z e[0;32m+e[0m ./core/target/site/jacoco/jacoco.xml e[0;90mbytes=281651e[0m
2020-09-23T00:43:51.7366298Z e[0;90m==>e[0m Appending adjustments
2020-09-23T00:43:51.7369420Z e[0;36mhttps://docs.codecov.io/docs/fixing-reportse[0m
2020-09-23T00:43:51.7540007Z e[0;90m->e[0m No adjustments found
2020-09-23T00:43:51.7542843Z e[0;90m==>e[0m Gzipping contents
2020-09-23T00:43:51.7778023Z e[0;90m==>e[0m Uploading reports
2020-09-23T00:43:51.7778706Z e[0;90murl:e[0m https://codecov.io
2020-09-23T00:43:51.7780990Z e[0;90mquery:e[0m branch=master&commit=e4eae37fb297cd9364776f120ca9f8a8a55e5b20&build=267873608&build_url=http%3A%2F%2Fgithub.com%2Fmitchdennett%2Fseverell%2Factions%2Fruns%2F267873608&name=&tag=&slug=mitchdennett%2Fseverell&service=github-actions&flags=&pr=&job=&cmd_args=n,F,Z
2020-09-23T00:43:51.7840745Z e[0;90m->e[0m Pinging Codecov
2020-09-23T00:43:51.7842792Z https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=master&commit=e4eae37fb297cd9364776f120ca9f8a8a55e5b20&build=267873608&build_url=http%3A%2F%2Fgithub.com%2Fmitchdennett%2Fseverell%2Factions%2Fruns%2F267873608&name=&tag=&slug=mitchdennett%2Fseverell&service=github-actions&flags=&pr=&job=&cmd_args=n,F,Z
2020-09-23T00:43:52.1433378Z e[0;90m->e[0m Uploading to
2020-09-23T00:43:52.1438715Z https://storage.googleapis.com/codecov/v4/raw/2020-09-23/F7529DB558E9BD26ADCBEAAA5C497EFB/e4eae37fb297cd9364776f120ca9f8a8a55e5b20/5fd16ace-6da7-404c-b3f5-8fe90f96adf0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200923T004352Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=34cf1a5151f5197da543b24d8fcf2d6ad53046aa78155b69110c2bff941e0c40
2020-09-23T00:43:52.1538667Z % Total % Received % Xferd Average Speed Time Time Time Current
2020-09-23T00:43:52.1539335Z Dload Upload Total Spent Left Speed
2020-09-23T00:43:52.1539656Z
2020-09-23T00:43:52.3305880Z 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
2020-09-23T00:43:52.3325558Z 100 19222 0 0 100 19222 0 106k --:–:-- --:–:-- --:–:-- 106k
2020-09-23T00:43:52.3379508Z e[0;32m->e[0m View reports at e[0;36mhttps://codecov.io/github/mitchdennett/severell/commit/e4eae37fb297cd9364776f120ca9f8a8a55e5b20e[0m

Additional Information

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

I’m having the same problem. I merged a PR a few hours ago and my badge is stuck in the previous percentage. :confused:

Thanks everyone, we’ll look into this.

1 Like

Any update on this? My badge has still not updated

My badge has not updated either! :disappointed:
It works for every other branch, except my default one.
This was working before, what happened?!

codecov
Should say 75%

@mitchdennett I think I’m gonna use shields.io for now.
this is my badge:
codecov

and here is yours:
codecov
[![codecov](https://img.shields.io/codecov/c/gh/mitchdennett/severell?label=codecov&logo=codecov)](https://codecov.io/gh/mitchdennett/severell)

1 Like

Same here for my project

@pakerwreah This worked - thank you for saving my day!

1 Like

Hi all, apologies for the wait, we have fixed this on our end and badges should reflect correctly on master (and all) branches.

1 Like