-
Notifications
You must be signed in to change notification settings - Fork 41
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
add a comment for each PR about test coverage #690
Conversation
190b8f1
to
bbcb265
Compare
bbcb265
to
8769293
Compare
2b9109d
to
66af930
Compare
Shouldn't it add a comment in this PR already? |
As far as I've understand it no. The purpose of this separate workflow is that its executed in a "secure" context and that is only when its run from checking out the bluechi repo, not the fork. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that we can't test that it works until we merge it :) So let's merge and see
Signed-off-by: Michael Engel <[email protected]>
66af930
to
15c41b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR extends the integration test workflow in GH to add a comment about the test coverage to a PR. For this, it uses https://github.com/romeovs/lcov-reporter-action. It also splits the results of tmt into tmt logs and coverage results (html report and info file).
Note 1:
This can later be further extended to
Note 2:
The comment won't appear in this PR since it first needs to be merged and the comment workflow be part of this repository.