Adds additional support for Github enterprise usecases#548
Closed
daniel-anya wants to merge 8 commits intopy-cov-action:mainfrom
Closed
Adds additional support for Github enterprise usecases#548daniel-anya wants to merge 8 commits intopy-cov-action:mainfrom
daniel-anya wants to merge 8 commits intopy-cov-action:mainfrom
Conversation
|
Admin commands cheatsheet:
|
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
ewjoachim
reviewed
Jul 13, 2025
Member
ewjoachim
left a comment
There was a problem hiding this comment.
That is a stellar contribution 🤩
I'm sorry it took so long to find the time to review it.
I think what it mainly needs is documentation in README. In particular:
- That you can use the pull_request merged event
- How to setup GH pages
- Maybe add some details on how it works for GHE ?
ewjoachim
reviewed
Jul 13, 2025
Member
|
Oh, and there are 4 lines missing coverage 😅 |
…st merge to the default branch. This is functionally equivalent to the currently supported pattern of pushing to the default branch.
Adds support for figuring out a github host from the `GITHUB_BASE_URL` config and using this value in generated coverage artifacts rather than hardcoding them to "github.com"
b41826c to
45f2ca6
Compare
45f2ca6 to
1e8ea13
Compare
Member
|
I'll be merging in #589 That said, thanks a lot ! |
Member
|
That was the 500th PR on this repo 🎉 And the associated released is the 42nd of the repo 🎉 Thanks a lot :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
5764cba: Adds support for figuring out a Github host from the
GITHUB_BASE_URLconfig, and using this value in generated coverage artifacts. The usecase here is that, when this action is used in the enterprise environment, coverage artifacts like html files and README docs point togithub.com/...which is not what we'd want.07a88e1: Adds support for saving coverage artifacts on
PR merged to default branchevents which is functionally equivalent to the currently supported path of saving coverage artifacts oncommit pushed to default branchevents.78a7324: Adds support for generating Github Pages based coverage report links.
Tested all changes in a Github enterprise environment and they've been working fine for a while now.