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

Updated CI_Tests.yml to setup codecov #280

Merged
merged 4 commits into from
Nov 23, 2024
Merged

Updated CI_Tests.yml to setup codecov #280

merged 4 commits into from
Nov 23, 2024

Conversation

adityakiran1423
Copy link
Collaborator

@adityakiran1423 adityakiran1423 commented Nov 23, 2024

This PR sets up Codecov to generate coverage reports and display the coverage on the README using the Codecov badge.
I've removed name: Run pytest job as codecov already runs tests and running pytest separately would be redundant.

This PR :

  • Makes changes to the CI tests to upload coverage reports to codecov
  • Adds the codecov badge to the README to show test coverage
  • Closes issue #275

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Collaborator

@K20shores K20shores left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost there! I've provided the badge from codecov and suggested that we upload the report only once

.github/workflows/CI_Tests.yml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@K20shores K20shores merged commit 7079073 into main Nov 23, 2024
4 checks passed
@K20shores K20shores deleted the codecov-setup branch November 23, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants