From f583e096d5d9d862374cac3cd6c4e3aa9def9c59 Mon Sep 17 00:00:00 2001 From: "Daniel W. Anner" Date: Wed, 15 Mar 2023 11:45:06 -0400 Subject: [PATCH] Adding pytest run to the end of pre-commit (#1207) --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5d1a2831..62a21519 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,3 +19,12 @@ repos: - id: yamllint name: Lint YAML files args: [--format, parsable, --strict] + - repo: local + hooks: + - id: pytest + name: Run PyTest Case Checks + entry: pytest + language: system + args: [--tb=short, -v] + pass_filenames: false + always_run: true