diff options
author | Stavros Korokithakis <hi@stavros.io> | 2018-12-06 17:30:56 +0200 |
---|---|---|
committer | Stavros Korokithakis <hi@stavros.io> | 2018-12-06 17:30:56 +0200 |
commit | 1695afd1443febbead39ce6f4cda839c593699a3 (patch) | |
tree | fe07db45451cb895e88dc06f9d87608ae8305c0c | |
parent | ebcdbfa987cfd0434a0915e22905a471d7fbd31b (diff) | |
download | pysignald-1695afd1443febbead39ce6f4cda839c593699a3.tar.gz pysignald-1695afd1443febbead39ce6f4cda839c593699a3.zip |
Run tests every commit
-rw-r--r-- | .pre-commit-config.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
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" |