Open lealceldeiro opened 2 years ago
No response
Let's plan for adding a coverage report badge in the app. Something like this:
The purpose is to keep track of how much the code is covered by the tests.
For this I think we could go with Codecov and use its GitHub action. I've used this in another set up and it worked like charm. Here's a reference:
https://github.com/lealceldeiro/org.wcdevs.blog.core/blob/3eb02ea4f2662643b96fd5df40fe761e3cf2e27a/.github/workflows/build-and-publish.yml#L71
The only requirement from dev perspective here is to be able to generate a coverage report for Codecov GitHub action (usage example here as well: https://github.com/marketplace/actions/codecov#usage) to send it to the already created account I have.
After that it's just a matter of updating the readme file with the link to the badge generated (out of the box) for us in Codecov.
That's sounds good to me @lealceldeiro
@YuryDG , please triage this ticket in wcDevs project appropriately.
Contact Details
No response
What technical change you'd like to see implemented in our project?
Let's plan for adding a coverage report badge in the app. Something like this:
The purpose is to keep track of how much the code is covered by the tests.
For this I think we could go with Codecov and use its GitHub action. I've used this in another set up and it worked like charm. Here's a reference:
https://github.com/lealceldeiro/org.wcdevs.blog.core/blob/3eb02ea4f2662643b96fd5df40fe761e3cf2e27a/.github/workflows/build-and-publish.yml#L71
The only requirement from dev perspective here is to be able to generate a coverage report for Codecov GitHub action (usage example here as well: https://github.com/marketplace/actions/codecov#usage) to send it to the already created account I have.
After that it's just a matter of updating the readme file with the link to the badge generated (out of the box) for us in Codecov.
Code of Conduct