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

Replace codecov with local lcov #413

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Replace codecov with local lcov #413

merged 1 commit into from
Oct 5, 2024

Conversation

jongbinjung
Copy link
Collaborator

@jongbinjung jongbinjung commented Oct 5, 2024

Potential solution to #393

The reporting isn't as pretty, and you don't get the full report. But it gets the job done without sending anything outside of the Github Actions instance.

Setup to use local coverage reporting for pull requests, and codecov for push to master.

Seems like once pushed to master, codecov pulls the proper secrets from uber/h3-py (e.g., see this run on master vs this failed run on a fork for the PR )

We could just use lcov for everything, but then we'd have to give up the badge on readme.md.

Copy link

github-actions bot commented Oct 5, 2024

Coverage after merging jb/lcov into master will be

99.43%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines

Copy link

github-actions bot commented Oct 5, 2024

Coverage after merging jb/lcov into master will be

99.43%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines

Copy link

github-actions bot commented Oct 5, 2024

Coverage after merging jb/lcov into master will be

99.43%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines

@ajfriend
Copy link
Contributor

ajfriend commented Oct 5, 2024

This is great! And this should be sufficient, especially when we figure out the Cython tests to get 100% coverage. Let's try this out for a while, while we mull over the importance of the badge. :)

@ajfriend ajfriend merged commit 91ab2bf into master Oct 5, 2024
37 checks passed
@ajfriend ajfriend deleted the jb/lcov branch October 5, 2024 21:01
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