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

Cannot display code coverage report if artifacts from target branch have expired #5

Open
fgrosse opened this issue Mar 16, 2024 · 3 comments

Comments

@fgrosse
Copy link
Owner

fgrosse commented Mar 16, 2024

It may happen that the uploaded code coverage artifact has expired already when we run the action. This is likely on repositories which do not receive changes frequently and thus, when a PR is opened, the code coverage from main will be missing.

@fgrosse
Copy link
Owner Author

fgrosse commented Mar 16, 2024

GitHub actions artifacts by default expire after 90 days (which is also the maximum).

@bejelith
Copy link

bejelith commented Aug 5, 2024

This is also a problem when initialing a new repository, the coverage report fails because main has never reported before - in this case better then failing would be nice to just have the current code coverage values imho.

@wmcnamee-coreweave
Copy link

I just ran into this same problem. Not a great first impression. :(

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

No branches or pull requests

3 participants