From 2dc445abe1fbc2bcd025dd5fe81ec0cf24c254cb Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 25 Oct 2016 12:19:15 +0300
Subject: [PATCH] - Added test as a pre-commit hook.

---
 .pre-commit-config.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 86cd7d0..f2586c1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -6,6 +6,15 @@
     -   id: check-xml
     -   id: check-yaml
     -   id: check-merge-conflict
+-   repo: local
+    hooks:
+    -   id: local_test
+        name: make test
+        entry: make test
+        language: system
+        always_run: True
+        files: Makefile
+
 -   repo: https://www.shore.co.il/git/shell-pre-commit/
     sha: 604fe77b53d3514d5ad0f66764c7783850bb6e98
     hooks:
-- 
GitLab