From 1695afd1443febbead39ce6f4cda839c593699a3 Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Thu, 6 Dec 2018 17:30:56 +0200 Subject: Run tests every commit --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 511cdae..e38b37f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,3 +18,10 @@ repos: hooks: - id: mypy args: [-s] +- repo: local + hooks: + - id: tests + language: system + name: Run pytest. + files: ".*\\.py$" + entry: bash -c "pytest" -- cgit v1.2.3-54-g00ecf