dyrectorio icon indicating copy to clipboard operation
dyrectorio copied to clipboard

Add code coverage report to web/crux scope

Open polaroi8d opened this issue 1 year ago • 6 comments

Currently, we use CodeCov to report Golang test coverage in our repository, but we're missing coverage information for the web scope. As a first step, we aim to add the web/crux scope to the coverage report. We use Jest in this scope to test mapper functions. Therefore, the task involves investigating and implementing a solution to include these tests in the coverage report.

\Additionally, we modify the GitHub Actions workflow to check the new coverage and automatically comment the new report on pull requests.

Please note that we are open to discussing and assisting with any related issues, even if someone who isn't one of the main contributors wishes to edit or add items to the CodeCov function. Happy to discuss this topic in detail.

polaroi8d avatar Sep 28 '23 15:09 polaroi8d

Hey @polaroi8d , can you please assign me this issue? Also a starting point would be helpful for this issue

sahil9001 avatar Oct 02 '23 19:10 sahil9001

Hi @sahil9001, I've been assigned to this task, but as it's currently written, the only starting point is that we already have Codecov, a code coverage reporting tool, and we are using Jest to write tests in the codebase. So, the task is to investigate and implement a proper solution for adding the project scope to the Codecov report. We are open to discussing further moves ✋🏻

polaroi8d avatar Oct 04 '23 06:10 polaroi8d

Sure, let me know the next steps, from what I understood, we need to include project scope in codecov which will be covered by jest during testing, right?

sahil9001 avatar Oct 04 '23 17:10 sahil9001

Yes @sahil9001

polaroi8d avatar Oct 05 '23 08:10 polaroi8d

Hey hawkeye here from discord please assign this issue to me

Souravpakhira avatar Dec 20 '23 14:12 Souravpakhira

#898 sorry for the delay

Souravpakhira avatar Dec 25 '23 10:12 Souravpakhira