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

fix codecov #71

Closed
wants to merge 6 commits into from
Closed

fix codecov #71

wants to merge 6 commits into from

Conversation

giovp
Copy link
Member

@giovp giovp commented Dec 12, 2022

No description provided.

@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Merging #71 (30d8bf8) into main (9aafb47) will not change coverage.
The diff coverage is n/a.

❗ Current head 30d8bf8 differs from pull request most recent head f2e31a1. Consider uploading reports for the commit f2e31a1 to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #71   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         16      16           
  Lines       1523    1523           
=====================================
  Misses      1523    1523           
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

@giovp
Copy link
Member Author

giovp commented Dec 12, 2022

@scverse/spatialdata if you have ideas on this please go ahead I've tried a bunch and failed. I believe this issue is tracked here: codecov/codecov-action#844

@ivirshup ivirshup mentioned this pull request Dec 12, 2022
@ivirshup
Copy link
Member

I expect the issue is this warning:

/opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/coverage/control.py:801: CoverageWarning: No data was collected. (no-data-collected)
[93](https://github.com/scverse/spatialdata/actions/runs/3676894096/jobs/6218230461#step:8:94)
  self._warn("No data was collected.", slug="no-data-collected")

Which I can't seem to replicate locally.

@ivirshup
Copy link
Member

Now that coverage is being generated, there's an error from the upload. Kinda weird that this doesn't show up as an error

[99](https://github.com/scverse/spatialdata/actions/runs/3677358818/jobs/6219204661#step:9:100)
[2022-12-12T15:44:14.395Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
[100](https://github.com/scverse/spatialdata/actions/runs/3677358818/jobs/6219204661#step:9:101)
[2022-12-12T15:44:14.396Z] ['verbose'] The error stack is: Error: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}

@ivirshup ivirshup closed this Dec 12, 2022
@giovp giovp deleted the fix/codecov branch December 12, 2022 17:21
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.

None yet

2 participants