dyrector-io/dyrectorio

Add code coverage report to web/crux scope

Opened this issue · 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.

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

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 ✋🏻

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?

Hey hawkeye here from discord please assign this issue to me

#898 sorry for the delay