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

chore: allow codecov to detect SHA #28278

Merged
merged 7 commits into from
Apr 30, 2024
Merged

chore: allow codecov to detect SHA #28278

merged 7 commits into from
Apr 30, 2024

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Apr 30, 2024

In our CI, where codecov.sh is called, there's a message from its CLI saying Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0. From my understanding setting depth=2 should allow to resolve this, without having much impact on cloning workload.

In our CI, where codecov.sh is called, there's a message from its CLI saying `Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0`. From my understanding setting depth=2 should allow to resolve this, without having much impact on cloning workload.
Copy link

request-info bot commented Apr 30, 2024

We would appreciate it if you could provide us with more info about this issue/pr! Please do not leave the title or description empty.

@request-info request-info bot added the need:more-info Requires more information from author label Apr 30, 2024
@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Apr 30, 2024
@mistercrunch
Copy link
Member Author

Switching to https://github.com/codecov/codecov-action may be the best option, for now we just need to unblock this. Anyone looking at these reports?

@@ -67,6 +68,9 @@ jobs:
./scripts/python_tests.sh
- name: Upload code coverage
if: steps.check.outputs.python
continue-on-error: true # codecob is not critical and randomly fails at times
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
continue-on-error: true # codecob is not critical and randomly fails at times
continue-on-error: true # codecov is not critical and randomly fails at times

Code on the Cob?! Sign me up!

This still upholds/blocks on the standards (e.g. core packages at 100% coverage) right?

@mistercrunch
Copy link
Member Author

mistercrunch commented Apr 30, 2024

Ok I ended up setting up the official GHA, allowed me to delete that heavy codecov.sh @ ~2000 LoC

@mistercrunch mistercrunch merged commit 51da5ad into master Apr 30, 2024
27 checks passed
@mistercrunch mistercrunch deleted the codecod_ref branch April 30, 2024 22:32
@michael-s-molina michael-s-molina added v4.0 Label added by the release manager to track PRs to be included in the 4.0 branch v3.1 Label added by the release manager to track PRs to be included in the 3.1 branch labels May 1, 2024
jzhao62 pushed a commit to jzhao62/superset that referenced this pull request May 16, 2024
@mistercrunch mistercrunch added 🍒 4.0.2 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🍒 3.1.3 🍒 4.0.1 labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels github_actions Pull requests that update GitHub Actions code need:more-info Requires more information from author preset-io size/XXL v3.1 Label added by the release manager to track PRs to be included in the 3.1 branch v4.0 Label added by the release manager to track PRs to be included in the 4.0 branch 🍒 3.1.3 🍒 4.0.1 🍒 4.0.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants