btel / SpikeSort

Spike sorting library implemented in Python/NumPy/PyTables
http://spike-sort.readthedocs.org
Other
27 stars 12 forks source link

Add git hook to run nosetests on non-master branches #55

Closed cpcloud closed 12 years ago

cpcloud commented 12 years ago

Not sure if this warrants an issue but it might be useful to do this across the board to prevent regression.

btel commented 12 years ago

I usually run nosetests from the current branch I am working on (usually dev). Isn't it enough?

cpcloud commented 12 years ago

I was thinking that when one tries to commit, a git hook could run nosetests and won't allow a commit until all tests pass. This probably doesn't warrant an issue since I could do this just for my version of the repository without forcing everyone to adopt this convention.