DEV Community

Pankaj Sharma
Pankaj Sharma

Posted on • Updated on

Team practices for successful CI

Goal of a successful continuous integration implementation is to prove that software will remain in working state even after the new increment in merged.

Following practices will help teams get the most out of their CI implementation:

  • check-in regularly, at least once a day
  • don't check-in on a broken build
  • run tests locally before committing
  • never go home on a broken build
  • be prepared to revert a previous version
  • time-box fixing before reverting
  • fail build for slow tests
  • fail build for warnings
  • fail build for formatting issues
  • fail build for violation of code quality metrics

References:

Top comments (0)