ietf-ribose / bibxml-service

Django-based Web service implementing IETF BibXML APIs
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

CI fails at uploading CodeCov report - Missing token? #22

Open stefanomunarini opened 2 years ago

stefanomunarini commented 2 years ago

Describe the issue

The "tests" CI workflow fails at uploading a Codecov report to the remote server (expanding the "Run tests" step here returns the following error message:

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: 400 - Could not determine repo and owner

Do we use a CODECOV_TOKEN in the repo settings? A possible reason for this to fail is due to using an outdated token (perhaps due to the migrations to ietf-tools?), or not providing a token at all. This is required by the tests workflow CI.


Note: this seems like a known bug (https://github.com/codecov/codecov-action/issues/598) when calling the uploader without using a token.

Code of Conduct

stefanomunarini commented 1 year ago

I've tried to remove the token in this PR and run the tests workflow again to see if the CodeCov uploader would be able to upload the report to the CodeCov servers.

This did not work, so I'm guessing in this case we really need to specify a valid token (here a new token can be generated).

@ronaldtse can you please take care of this? Unfortunately I can't take care of this as I do not have access to the repository setting