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

Codecov migration #4195

Merged
merged 4 commits into from
Dec 22, 2022
Merged

Codecov migration #4195

merged 4 commits into from
Dec 22, 2022

Conversation

alanmcruickshank
Copy link
Member

@alanmcruickshank alanmcruickshank commented Dec 21, 2022

This might fail but I hope it works.

The reason codecov isn't reporting is that the Python 3.10 Windows tests job isn't reporting. The error we're getting is {'detail': ErrorDetail(string='Missing "owner" argument. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}. We're currently using the v1 uploader and that has been officially sunset: https://github.com/codecov/codecov-action.

This updates to v3 (and hopefully solves our codecov issues).

See here for example: https://github.com/sqlfluff/sqlfluff/actions/runs/3749312506/jobs/6367654414

@alanmcruickshank
Copy link
Member Author

Up to date thread on codecov: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954

Suggests adding a token to resolve. So that this works for PRs from forks, I'm going to add a token which is public. I think the security risks of doing so are minimal. FerretDB have done exactly that: https://github.com/FerretDB/FerretDB/blob/f4de6e41fc6d0ab9f00ac9e2facdda877fca86ee/.github/workflows/go.yml#L23-L25

@codecov
Copy link

codecov bot commented Dec 21, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (3aa1e7e) compared to base (bee3d9e).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #4195   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          197       197           
  Lines        14925     14925           
=========================================
  Hits         14925     14925           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -63,6 +63,7 @@ indented_joins = False
indented_ctes = False
indented_using_on = True
indented_on_contents = True
allow_implicit_indents = False
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean to include this line? Seems unrelated to coverage checks.

Copy link
Member Author

Choose a reason for hiding this comment

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

oops - no I didn't but it's not harmful 🤷

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