summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2023-05-04 10:44:26 -0700
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2023-05-04 10:45:30 -0700
commitef33ef8e4067c6005bbb99433d1a5ec1b6d483aa (patch)
treedbcdf21b6954b4a37cdce28ada5f800547121ee6 /.github
parentea19c6d168efa7c5a4533f67a4e41ac171b45d9c (diff)
CI: Fix pre-commit GHA job
Tox does not have a pre-commit environment. I would expect tox to fail, but it does not, it just passes. Silly tox. Change-Id: I41dd2f5aa951696432aa7f44c7e73bc331e1b866 Issue-ID: CIMAN-33 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/gerrit-verify.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml
index 31b81ab3f..ea754d814 100644
--- a/.github/workflows/gerrit-verify.yaml
+++ b/.github/workflows/gerrit-verify.yaml
@@ -92,7 +92,7 @@ jobs:
with:
python-version: "3.11"
- name: Run static analysis and format checkers
- run: pipx run tox -e pre-commit
+ run: pipx run pre-commit run --all-files --show-diff-on-failure
jjb-validation:
needs: prepare