test: try to fix Codecov configuration #306
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was this dependabot PR which I confirmed was working and merged: #301
The tests were passing in the PR, but after merging they failed in the main branch with the following error message:
[2023-12-04T20:52:25.943Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Could not find a repository associated with upload token ***', code='not_found')}
Our project indeed has a
CODECOV_TOKEN
secret, which is picked up by the workflow. It was updated 15 hours ago, and it looks like the tests have started failing since then.Codecov documentation mentions (first question, last paragraph) that this token is not required for public repositories, so my idea is that by removing this entirely we might resolve the problem.