You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use this to write a basic pre-push hook that will only allow you to push your changes if you've got a fully passing test suite: http://lostechies.com/jasonmeridth/2009/09/10/git-local-pre-commit-hook/ Note that you'll need Git 1.8.2 or later to use this. You may also want to change the last line from 'rake' to 'rake smoke_test', as this will run a considerably snappier custom subset of tests over the items most likely to change. If you fiddle with jobs remember to actually test those changes.