From: Hugo van Kemenade Date: Wed, 15 Jul 2020 21:53:48 +0000 (+0300) Subject: pre-commit: show diff on failure on CI (#1552) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/2955bdc6767d942cd489c73bd3bf600303d524c5?ds=sidebyside pre-commit: show diff on failure on CI (#1552) * pre-commit: --show-diff-on-failure * pre-commit: --show-diff-on-failure --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cb8c534..fa7286e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,4 +24,4 @@ jobs: python -m pip install -e '.[d]' - name: Lint - run: pre-commit run --all-files + run: pre-commit run --all-files --show-diff-on-failure diff --git a/.travis.yml b/.travis.yml index b2b127c..86cf24d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ matrix: - name: "lint" python: 3.7 env: - - TEST_CMD="pre-commit run --all-files" + - TEST_CMD="pre-commit run --all-files --show-diff-on-failure" - name: "3.6" python: 3.6 - name: "3.7"