Skip to content

Allow to control code coverage - #50

Merged
webknjaz merged 2 commits into
ansible-community:mainfrom
felixfontein:coverage
Jan 3, 2023
Merged

webknjaz merged 2 commits into
ansible-community:mainfrom
felixfontein:coverage

Conversation

@felixfontein

@felixfontein felixfontein commented Nov 27, 2022 •

Copy link
Copy Markdown
Contributor

Contains #49. Will rebase once that is merged. (That is now done.)

Provides a new option coverage with values always, never, and auto. The behavior for auto is to not send code coverage when pull-request-change-detection=true and the action is called from a PR; this can be adjusted later (ref: #46 (comment), #46 (comment)).

@felixfontein

Copy link
Copy Markdown
Contributor Author

This is now ready for review.

@felixfontein

Copy link
Copy Markdown
Contributor Author

@webknjaz any chance that you could review this?

Comment thread action.yml Resolved
Comment thread action.yml Resolved
@felixfontein

Copy link
Copy Markdown
Contributor Author

#54 should fix broken CI.

felixfontein and others added 2 commits January 3, 2023 01:00
Co-authored-by: Sviatoslav Sydorenko <sviat@redhat.com>
@webknjaz
webknjaz enabled auto-merge January 3, 2023 00:02
@webknjaz
webknjaz merged commit c2f3a12 into ansible-community:main Jan 3, 2023
@felixfontein
felixfontein deleted the coverage branch January 3, 2023 07:28
@felixfontein

Copy link
Copy Markdown
Contributor Author

@webknjaz thanks for reviewing and merging!

@gardar

gardar commented Jan 11, 2023

Copy link
Copy Markdown

Any chance there will be a new release that includes this option published soon?
It's a bit confusing that the documentation over at https://github.com/marketplace/actions/ansible-test already has the coverage option listed when it's not available in a released version. (I know I can use the branch or commit in my workflow, but still).

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.

3 participants