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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Codecov settings #2653

Merged
merged 4 commits into from
Apr 30, 2024
Merged

Update Codecov settings #2653

merged 4 commits into from
Apr 30, 2024

Conversation

namurphy
Copy link
Member

We've been having some problems with our Codecov configuration the last few months. This PR makes it so that CI can pass if the Codecov report doesn't upload correctly. I've correspondingly set it so that the codecov/patch check is now required, so it's more apparent if it is missing. This is a bandaid 馃┕ which we'll have to look into further.

@namurphy namurphy requested a review from a team as a code owner April 30, 2024 16:06
@namurphy namurphy requested review from ejohnson-96 and removed request for a team April 30, 2024 16:06
@namurphy namurphy added no changelog entry needed CI Related to continuous integration labels Apr 30, 2024
@github-actions github-actions bot added docs PlasmaPy Docs at http://docs.plasmapy.org GitHub Actions A continuous integration platform for automating tests and other tasks (see .github/ directory) contributor guide labels Apr 30, 2024
@@ -4,15 +4,13 @@ codecov:
wait_for_ci: false
require_ci_to_pass: false
coverage:
range: 75..98
range: 90..98
Copy link
Member Author

Choose a reason for hiding this comment

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

The range here defines for Codecov reports when the value should appear as red (below 90%), yellow (between 90% to 98%), or green (98% to 100%).

@namurphy
Copy link
Member Author

I think I need to merge this before we can tell if it is working or not.

@namurphy namurphy merged commit 0d78160 into PlasmaPy:main Apr 30, 2024
13 of 14 checks passed
@namurphy namurphy deleted the codecov-settings branch April 30, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Related to continuous integration contributor guide docs PlasmaPy Docs at http://docs.plasmapy.org GitHub Actions A continuous integration platform for automating tests and other tasks (see .github/ directory) no changelog entry needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant