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

chore: add test coverage and coverage report to the README #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

patrickdeangelis
Copy link

Closes #9

  • Creates test-ci command to just, that generates the code coverage
  • Creates a new workflow to add the code coverage percentual badge to the README once the PR is merged to the main

Screnshoots

  • How the badge will be

Screenshot 2024-05-03 at 23 21 48

@mauricioabreu
Copy link
Contributor

mauricioabreu commented May 4, 2024

Thank you @patrickdeangelis does this action overwrite the README every push?

This actions uses a dynamic badge generator: https://github.com/marketplace/actions/go-coverage
And it looks like it does not need to overwrite the README file. Is it worth to check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add coverage
2 participants