k8s-crafts / ephemeral-containers-plugin

A kubectl plugin to interactively update Pod /ephemeralcontainers subresource
Apache License 2.0
2 stars 5 forks source link

[Task] Unit test coverage report #6

Closed tthvo closed 1 day ago

tthvo commented 5 days ago

Unit tests are available for the plugin but its coverage is not reported. This should be reported as part of push and pull-request status.

abuzaforfagun commented 2 days ago

I am interested in working on it.

tthvo commented 2 days ago

I am interested in working on it.

Assigned, thanks @abuzaforfagun!

Note that we do have coverage report generated (see cover.out when running make test). This issue focuses GitHub Action with the following requirement:

This should be the simplest way :D Please let me know if you have any questions!

tthvo commented 2 days ago

The step in question should be added to in the following job (after step Run unit tests):

https://github.com/k8s-crafts/ephemeral-containers-plugin/blob/dd94cf46fb5375754b7d705dab2b723ae8000787/.github/workflows/test.yaml#L26