From cbb04e75e6ebf76eb197089367bf9cf9e667edfb Mon Sep 17 00:00:00 2001 From: Stefanie Molin <24376333+stefmolin@users.noreply.github.com> Date: Thu, 27 Jun 2024 21:49:56 -0400 Subject: [PATCH] Add check that the hook is configured for pre-commit --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec231e5..4abb20d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,9 @@ jobs: - name: Install testing dependencies run: python -m pip install '.[dev]' + - name: Validate pre-commit hook + run: pre-commit try-repo . strip-exif --all-files + - name: Run tests run: pytest