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

Configure Github Actions to post coverage on external PRs #106

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Configure Github Actions to post coverage on external PRs #106

merged 1 commit into from
Jul 1, 2022

Conversation

kieferro
Copy link
Contributor

@kieferro kieferro commented Jul 1, 2022

I noticed on the last PR that Github Actions is set to not upload coverage comments for external PRs (i.e. those from a fork). This is because there is only read-only access for external PRs.
This PR solves that problem and makes it possible for coverage comments to be displayed on external PRs as well. (See also second part of: py-cov-action/python-coverage-comment-action#15 (comment))

I would find it very helpful when developing if already when creating PRs it would be shown how the coverage changes. However, this is just a suggestion. If it doesn't suit your ideas on how coverage should be managed, feel free to close it.

Copy link
Owner

@zhelyabuzhsky zhelyabuzhsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you )

@zhelyabuzhsky zhelyabuzhsky merged commit 7d9c1d1 into zhelyabuzhsky:master Jul 1, 2022
@kieferro kieferro deleted the coverage-comment branch July 1, 2022 10:54
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