From ceab13b2ca9d0f8bb5330806c50f26d3626e6719 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Wed, 7 Oct 2020 15:12:12 +0100 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 91bfdda..43fd170 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,6 +23,11 @@ pip3 install pytest-cov pytest --cov=isobar tests ``` +To automatically run unit tests on commit: +``` +echo pytest > .git/hooks/pre-commit +``` + ## Documentation To regenerate the per-class pattern docs for the README: