Skip to content
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

Unit test execution report and code coverage reports as release assets #253

Closed
stoyan-zoubev opened this issue Jul 27, 2023 · 2 comments
Closed
Assignees
Labels
feature New feature or request
Milestone

Comments

@stoyan-zoubev
Copy link
Contributor

The proposal is to execute unit tests for each Kanto component when a release is done, to generate code coverage reports (maybe both text and HTML output formats) and store all these reports as release assets in each component's repository.

This can be easily achieved by adding to each repository a release workflow that is triggered upon a release creation - it needs to setup the environment with Go enabled, checkout the source code, execute the unit test cases (preferably enabling -v (verbose), -race flags), store the execution output as unit test report, generate code coverage reports as text and HTML output and make an archive of these. Finally, the unit test report file and the archive with text/HTML code coverage reports are to be uploaded as release assets.

This will be somehow a guaranty for quality of the released component.

@k-gostev k-gostev added the feature New feature or request label Nov 20, 2023
@k-gostev k-gostev added this to the M5 milestone Nov 20, 2023
@k-gostev k-gostev moved this to In Progress (max 10) in Eclipse Kanto Nov 20, 2023
@IvanBoychevMarinov
Copy link
Contributor

IvanBoychevMarinov commented Nov 20, 2023

After the initial overview we identified at least two approaches to provide meaningful information about the unit test code coverage.

  • Add builds to the current release procedure to build the suggested artifacts and include them in the release.
  • Add additional workflows for each of the repositories to provide some overview of the current working branch.

Both of the approaches have some advantages on their own. Right now I think we will go will both of them.

@github-project-automation github-project-automation bot moved this from In Progress (max 10) to Done in Eclipse Kanto Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants