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

don't codecov on cron builds #85

Merged
merged 2 commits into from
Apr 10, 2023
Merged

don't codecov on cron builds #85

merged 2 commits into from
Apr 10, 2023

Conversation

richardjgowers
Copy link
Contributor

Description

Provide a brief description of the PR's purpose here.

Todos

Notable points that this PR has either accomplished or will accomplish.

  • TODO 1

Questions

  • Question1

Status

  • Ready to go

with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true # optional (default = false)
fail_ci_if_error: false
Copy link
Member

Choose a reason for hiding this comment

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

you're always best to fail here, that way you know to restart the build to get coverage information, otherwise you'll have misleading info at best

Copy link
Contributor Author

Choose a reason for hiding this comment

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

codecov is flakey and advisory, I'd rather it not fail a PR

Copy link
Member

Choose a reason for hiding this comment

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

it really doesn't fail that much tbh - I've seen conda resolution errors more often

Plus on runners of this length, it's no big deal to just restart it or just check that CI ran and then ignore the fail

Copy link
Member

Choose a reason for hiding this comment

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

it is a lot worse if you ask someone to add test coverage when it's already covered

@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #85 (1c25cec) into main (c982839) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@richardjgowers richardjgowers merged commit 69ed025 into main Apr 10, 2023
@richardjgowers richardjgowers deleted the richardjgowers-patch-1 branch April 10, 2023 09:14
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.

2 participants