Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[MNT]: Codecov upload is brittle, try uploading with token? #24483

Open
@anntzer

Description

@anntzer

Summary

The codecov upload action at the end of CI sometimes fails, which leads to codecov incorrectly flagging some PRs as causing decreases in coverage (e.g. it claims that#24465 decreased the coverage of test_animation.py, which is certainly not the case).
Looking at the log for the "Upload code coverage" step ofhttps://github.com/matplotlib/matplotlib/actions/runs/3474512698/jobs/5807760694 one sees

[2022-11-15T22:26:32.813Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.1-uploader-0.3.2&token=*******&branch=ob&build=3474512698&build_url=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Factions%2Fruns%2F3474512698&commit=9364728a427d7ad72a38fc2b4fbe6ff9cb6db6c7&job=Tests&pr=24465&service=github-actions&slug=matplotlib%2Fmatplotlib&name=&tag=&flags=&parent=42[2022-11-15T22:26:33.125Z] ['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='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}

Proposed fix

Try uploading with a token to see if that improves the robustness. Seehttps://docs.codecov.com/docs/codecov-uploader#upload-token for docs -- even that states that tokens are not required, perhaps they can help...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp