Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: codecov coverage badge - correct branch #3232

Merged
merged 2 commits into from
May 31, 2024

Conversation

AJPfleger
Copy link
Contributor

After

the badge did not update anymore. This was due to the wrong branch setting, after copying the suggestion from codecov. This removes any branch-specification and takes the default branch from ACTS.

Since the documentation of codecov is not super clear, it might be necessary also to add a token in the future like this:

[![codecov](https://codecov.io/gh/acts-project/acts/graph/badge.svg?token=INSERT_TOKEN_HERE)](https://codecov.io/gh/acts-project/acts)

The token (different from the upload token) can be found at https://app.codecov.io/gh/acts-project/acts/settings/badge (login required). It seems to work without token for now, so no reason to expose it to the public.

@AJPfleger AJPfleger added this to the next milestone May 29, 2024
@kodiakhq kodiakhq bot merged commit e607d9c into acts-project:main May 31, 2024
50 checks passed
@AJPfleger AJPfleger deleted the covbadge branch May 31, 2024 14:24
@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label May 31, 2024
@andiwand andiwand modified the milestones: next, v35.1.0 Jun 1, 2024
Matthewharri pushed a commit to Matthewharri/acts that referenced this pull request Jun 18, 2024
After
- acts-project#3108

the badge did not update anymore. This was due to the wrong branch setting, after copying the suggestion from codecov. This removes any branch-specification and takes the default branch from ACTS.

Since the documentation of codecov is not super clear, it might be necessary also to add a token in the future like this:
```
[![codecov](https://codecov.io/gh/acts-project/acts/graph/badge.svg?token=INSERT_TOKEN_HERE)](https://codecov.io/gh/acts-project/acts)
```
The token (different from the upload token) can be found at https://app.codecov.io/gh/acts-project/acts/settings/badge (login required). It seems to work without token for now, so no reason to expose it to the public.
Copy link

codecov bot commented Aug 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.60%. Comparing base (6f54ccf) to head (b7be42d).
Report is 280 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3232   +/-   ##
=======================================
  Coverage   47.60%   47.60%           
=======================================
  Files         507      507           
  Lines       29137    29137           
  Branches    13976    13976           
=======================================
  Hits        13871    13871           
  Misses       5268     5268           
  Partials     9998     9998           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fails Athena tests This PR causes a failure in the Athena tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants