3 ms·
Where I write code we use git hooks to run linting and unit tests on pre-commit and integration tests on pre-push, and anyone using --no-verify gets a stern tal
by onion2k 9y ago
Where I write code we use git hooks to run linting and unit tests on pre-commit and integration tests on pre-push, and anyone using --no-verify gets a stern talking to. No one gets code in to the repo if it breaks the tests.
I'm still working on a way to stop commits that drop the coverage below a threshold so even new code can't be added if it isn't tested.