Skip to content

external-plugin for prow: basic go unit test coverage #4064

@dhiller

Description

@dhiller

Is your feature request related to a problem? Please describe:
currently no automated golang unit test coverage is provided.

Describe the solution you'd like:
Try to determine whether golang code coverage is applicable, run it and capture artifacts, finally attach github status to be able to browse it.

Related to prowjob creation is the section of rehearse plugin where jobs are created:

func (h *GitHubEventsHandler) generatePresubmits(

Describe alternatives you've considered:
A clear and concise description of any alternative solutions or features you've considered.

Additional context:
Example of a coverage job that could be made redundant by this plugin:

/sig ci
/area prow

Metadata

Metadata

Assignees

Labels

area/prowIssues and PRs concerning KubeVirt Prow, i.e. configuration, setup etc.help wantedIdentifies an issue that has been specifically created or selected for new contributors.kind/enhancementpriority/backlogIndicate that the issue or PR is a lower priority and can be worked on in the futuresig/ciDenotes an issue or PR as being related to sig-ci, marks changes to the CI system.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions