practicajs / practica

Node.js solution starter boilerplate that is production-ready, packed with βœ… best practices and built with simplicity in mind

Home Page:https://practica.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't let new commits decrease the coverage

goldbergyoni opened this issue Β· comments

🎯 Goal: - 100% coverage or not? Big question, at least we can disallow new commits to decrease the existing coverage

πŸ€” Things to consider:

  • codecov seems like a good tool for the mission. Feel free to consider other options
  • Should be a standard PR check - This way all the quality checks are centralized in one place
  • No absolute numbers rather per-commit measurement - It's hard to declare now which exact coverage number we aim for. Instead, we should define that the latest commit did not decrease comparing with the previous one (achievable with configuration only using codecov)
  • Other informative and 'cool' visuals that can be added to the PR are welcome
  • If the tool has other useful capabilities - bring it on!